Skip to content

Commit

Permalink
Machinepool should use OCI_MANAGED_KUBERNETES_VERSION ENV (#375)
Browse files Browse the repository at this point in the history
Using KUBERNETES_VERSION instead of OCI_MANAGED_KUBERNETES_VERSION
will have a version mismatch and the managed nodes will fail
to join.
  • Loading branch information
joekr authored Aug 29, 2024
1 parent d5d6800 commit ca7c47a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: OCIManagedMachinePool
name: ${CLUSTER_NAME}-mp-0
version: ${KUBERNETES_VERSION}
version: ${OCI_MANAGED_KUBERNETES_VERSION}
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: OCIManagedMachinePool
Expand Down Expand Up @@ -52,7 +52,7 @@ spec:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: OCIManagedMachinePool
name: ${CLUSTER_NAME}-mp-1
version: ${KUBERNETES_VERSION}
version: ${OCI_MANAGED_KUBERNETES_VERSION}
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: OCIManagedMachinePool
Expand Down

0 comments on commit ca7c47a

Please sign in to comment.