-
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.
Prepend sed command on KCPT prekubadm commands
sed commands mutate the kube-vip template with variables to configure kube-vip.
- Loading branch information
1 parent
bd8098a
commit 93240be
Showing
5 changed files
with
120 additions
and
4 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
52 changes: 52 additions & 0 deletions
52
templates/testdata/cluster-with-control-plane-endpoint.yaml
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,52 @@ | ||
apiVersion: cluster.x-k8s.io/v1beta1 | ||
kind: Cluster | ||
metadata: | ||
labels: | ||
ccm: nutanix | ||
cluster.x-k8s.io/cluster-name: cluster-with-control-plane-endpoint | ||
name: cluster-with-control-plane-endpoint | ||
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 | ||
version: v1.29.2 | ||
workers: | ||
machineDeployments: | ||
- class: nutanix-quick-start-worker | ||
name: md-0 | ||
replicas: 2 |