airshipctl/manifests/function/k8scontrol-capg/cluster.yaml
Ratnopam Chakrabarti 630464bb8d Change target cluster name for CAPG provider
Change target cluster name from gtc to target-cluster for
CAPG provider

Relates-To: #426

Change-Id: I0e694cfae1957a84b668cd36f344dd7c2d00db3d
2020-12-07 18:06:00 +00:00

30 lines
687 B
YAML

---
apiVersion: cluster.x-k8s.io/v1alpha3
kind: Cluster
metadata:
name: "target-cluster"
namespace: default
spec:
clusterNetwork:
pods:
cidrBlocks: ["192.168.0.0/16"]
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: GCPCluster
name: "target-cluster"
controlPlaneRef:
kind: KubeadmControlPlane
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
name: "target-cluster-control-plane"
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: GCPCluster
metadata:
name: "target-cluster"
namespace: default
spec:
project: "${GCP_PROJECT}"
region: "${GCP_REGION}"
network:
name: "${GCP_NETWORK_NAME}"