This commit is contained in:
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/releases/download/v1.6.0/cluster-template.yaml
|
||||
patchesStrategicMerge:
|
||||
- ../patches/azuremachinetemplate-controlplane.yaml
|
||||
- ../patches/azuremachinetemplate-workload.yaml
|
@ -0,0 +1,11 @@
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
|
||||
kind: AzureMachineTemplate
|
||||
metadata:
|
||||
name: ${CLUSTER_NAME}-control-plane
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
image:
|
||||
id: ${MANAGED_IMAGE_ID}
|
||||
---
|
@ -0,0 +1,11 @@
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
|
||||
kind: AzureMachineTemplate
|
||||
metadata:
|
||||
name: ${CLUSTER_NAME}-md-win
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
image:
|
||||
id: ${MANAGED_IMAGE_ID}
|
||||
---
|
@ -0,0 +1,11 @@
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
|
||||
kind: AzureMachineTemplate
|
||||
metadata:
|
||||
name: ${CLUSTER_NAME}-md-0
|
||||
namespace: default
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
image:
|
||||
id: ${MANAGED_IMAGE_ID}
|
||||
---
|
@ -0,0 +1,8 @@
|
||||
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
|
||||
kind: KubeadmControlPlane
|
||||
metadata:
|
||||
name: ${CLUSTER_NAME}-control-plane
|
||||
namespace: default
|
||||
spec:
|
||||
version: ${KUBERNETES_BOOTSTRAP_VERSION}
|
||||
---
|
@ -0,0 +1,8 @@
|
||||
apiVersion: cluster.x-k8s.io/v1beta1
|
||||
kind: MachineDeployment
|
||||
metadata:
|
||||
name: ${CLUSTER_NAME}-md-0
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 0
|
||||
---
|
@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/releases/download/v1.6.0/cluster-template-windows.yaml
|
||||
patchesStrategicMerge:
|
||||
- ../patches/azuremachinetemplate-windows.yaml
|
||||
- ../patches/kubeadmcontrolplane-windows.yaml
|
||||
- ../patches/machinedeployment-windows.yaml
|
Reference in New Issue
Block a user