Skip to content

Commit

Permalink
use kind labels field
Browse files Browse the repository at this point in the history
  • Loading branch information
nabuskey committed Aug 29, 2024
1 parent 4f602a4 commit 0ac6673
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pkg/kind/resources/kind.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: "kindest/node:{{ .KubernetesVersion }}"
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
labels:
ingress-ready: "true"
extraPortMappings:
- containerPort: {{ if (eq .Protocol "http") -}} 80 {{- else -}} 443 {{- end }}
hostPort: {{ .Port }}
Expand Down

0 comments on commit 0ac6673

Please sign in to comment.