Skip to content

Commit

Permalink
test/e2e/data/infrastructure-docker drop imageRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Jul 14, 2022
1 parent de59e44 commit b3e6958
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ spec:
replicas: ${WORKER_MACHINE_COUNT}
failureDomain: fd4
variables:
# The imageRepository variable is defaulted by the Cluster webhook.
#- name: imageRepository
# value: k8s.gcr.io
- name: etcdImageTag
# We set an empty value to use the default tag kubeadm init is using.
value: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ spec:
openAPIV3Schema:
type: string
default: kindest
- name: imageRepository
required: true
schema:
openAPIV3Schema:
type: string
default: ""
example: "registry.k8s.io"
description: "imageRepository sets the container registry to pull images from. If empty, nothing will be set and the from of kubeadm will be used."
- name: etcdImageTag
required: true
schema:
Expand Down Expand Up @@ -76,20 +68,6 @@ spec:
external:
generateExtension: generate-patches.k8s-upgrade-with-runtimesdk
validateExtension: validate-topology.k8s-upgrade-with-runtimesdk
- name: imageRepository
description: "Sets the imageRepository used for the KubeadmControlPlane."
enabledIf: '{{ ne .imageRepository "" }}'
definitions:
- selector:
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlaneTemplate
matchResources:
controlPlane: true
jsonPatches:
- op: add
path: "/spec/template/spec/kubeadmConfigSpec/clusterConfiguration/imageRepository"
valueFrom:
variable: imageRepository
# We have to pin the cgroupDriver to cgroupfs for Kubernetes < v1.24 because kind does not support systemd for those versions, but kubeadm >= 1.21 defaults to systemd.
- name: cgroupDriver-controlPlane
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ spec:
openAPIV3Schema:
type: string
default: kindest
- name: imageRepository
required: true
schema:
openAPIV3Schema:
type: string
default: ""
example: "registry.k8s.io"
description: "imageRepository sets the container registry to pull images from. If empty, nothing will be set and the from of kubeadm will be used."
- name: etcdImageTag
required: true
schema:
Expand Down Expand Up @@ -97,20 +89,6 @@ spec:
valueFrom:
template: |
imageRepository: {{ .lbImageRepository }}
- name: imageRepository
description: "Sets the imageRepository used for the KubeadmControlPlane."
enabledIf: '{{ ne .imageRepository "" }}'
definitions:
- selector:
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlaneTemplate
matchResources:
controlPlane: true
jsonPatches:
- op: add
path: "/spec/template/spec/kubeadmConfigSpec/clusterConfiguration/imageRepository"
valueFrom:
variable: imageRepository
# We have to pin the cgroupDriver to cgroupfs for Kubernetes < v1.24 because kind does not support systemd for those versions, but kubeadm >= 1.21 defaults to systemd.
- name: cgroupDriver-controlPlane
description: |
Expand Down

0 comments on commit b3e6958

Please sign in to comment.