-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add variable for setting the project on cluster resource
The diff also includes a patch to set the project property on nutanixmachinetemplate resources for control plane and worker machine deployments.
- Loading branch information
1 parent
eb1611a
commit e679011
Showing
4 changed files
with
149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: Cluster | ||
metadata: | ||
labels: | ||
ccm: nutanix | ||
cluster.x-k8s.io/cluster-name: cluster-with-project | ||
name: cluster-with-project | ||
spec: | ||
topology: | ||
class: nutanix-quick-start | ||
controlPlane: | ||
metadata: {} | ||
replicas: 1 | ||
variables: | ||
- name: sshKey | ||
value: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMe61GqA9gqeX3zDCiwuU8zEDt3ckLnfVm8ZxN7UuFyL user@host | ||
- name: controlPlaneEndpoint | ||
value: | ||
IP: 1.2.3.4 | ||
port: 6443 | ||
- name: prismCentralEndpoint | ||
value: | ||
address: prismcentral.fake | ||
credentialSecret: nutanix-quick-start-pc-creds | ||
insecure: false | ||
port: 9440 | ||
- name: controlPlaneMachineDetails | ||
value: | ||
bootType: legacy | ||
clusterName: fake-cluster | ||
imageName: ubuntu-2204-kube-v1.29.2.qcow2 | ||
memorySize: 4Gi | ||
subnetName: fake-subnet | ||
systemDiskSize: 40Gi | ||
vcpuSockets: 2 | ||
vcpusPerSocket: 1 | ||
- name: workerMachineDetails | ||
value: | ||
bootType: legacy | ||
clusterName: fake-cluster | ||
imageName: ubuntu-2204-kube-v1.29.2.qcow2 | ||
memorySize: 4Gi | ||
subnetName: fake-subnet | ||
systemDiskSize: 40Gi | ||
vcpuSockets: 2 | ||
vcpusPerSocket: 1 | ||
- name: projectName | ||
value: fake-project | ||
version: v1.29.2 | ||
workers: | ||
machineDeployments: | ||
- class: nutanix-quick-start-worker | ||
name: md-0 | ||
replicas: 2 |