Skip to content

Commit

Permalink
test/e2e disable capd customImage patch if not no stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed May 16, 2022
1 parent 6a5c02c commit ad92ec9
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ spec:
valueFrom:
template: |
imageTag: {{ .coreDNSImageTag }}
- name: customImage
description: "Sets the container image that is used for running dockerMachines for the controlPlane and default-worker machineDeployments."
- name: customImage-controlPlane
description: "Sets the container image that is used for running dockerMachines for the default-worker machineDeployments."
definitions:
- selector:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
Expand All @@ -158,6 +158,11 @@ spec:
valueFrom:
template: |
kindest/node:{{ .builtin.machineDeployment.version }}
# only enable this patch for normal semver versions, not versions which contain `+<commit-sha>`
enabledIf: '{{ not (contains "+" .builtin.machineDeployment.version) }}'
- name: customImage-machineDeployment
description: "Sets the container image that is used for running dockerMachines for the controlPlane."
definitions:
- selector:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: DockerMachineTemplate
Expand All @@ -169,6 +174,8 @@ spec:
valueFrom:
template: |
kindest/node:{{ .builtin.controlPlane.version }}
# only enable this patch for normal semver versions, not versions which contain `+<commit-sha>`
enabledIf: '{{ not (contains "+" .builtin.controlPlane.version) }}'
- name: kubeadmControlPlaneMaxSurge
description: "Sets the maxSurge value used for rolloutStrategy in the KubeadmControlPlane."
definitions:
Expand Down

0 comments on commit ad92ec9

Please sign in to comment.