Skip to content

Commit ca7c47a

Browse files
authored
Machinepool should use OCI_MANAGED_KUBERNETES_VERSION ENV (#375)
Using KUBERNETES_VERSION instead of OCI_MANAGED_KUBERNETES_VERSION will have a version mismatch and the managed nodes will fail to join.
1 parent d5d6800 commit ca7c47a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/data/infrastructure-oci/v1beta2/cluster-template-managed/machine-pool.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
1717
kind: OCIManagedMachinePool
1818
name: ${CLUSTER_NAME}-mp-0
19-
version: ${KUBERNETES_VERSION}
19+
version: ${OCI_MANAGED_KUBERNETES_VERSION}
2020
---
2121
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
2222
kind: OCIManagedMachinePool
@@ -52,7 +52,7 @@ spec:
5252
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
5353
kind: OCIManagedMachinePool
5454
name: ${CLUSTER_NAME}-mp-1
55-
version: ${KUBERNETES_VERSION}
55+
version: ${OCI_MANAGED_KUBERNETES_VERSION}
5656
---
5757
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
5858
kind: OCIManagedMachinePool

0 commit comments

Comments
 (0)