Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker registry fixes #162

Merged
merged 3 commits into from
Mar 1, 2024
Merged

Conversation

jessesanford
Copy link
Contributor

No description provided.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably rid of the imageswap admission controller entirely and just use a rewrite with containerd config like so:

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
  image: "kindest/node:v1.27.3"
  kubeadmConfigPatches:
  - |
    kind: InitConfiguration
    nodeRegistration:
      kubeletExtraArgs:
        system-reserved: memory=4Gi
        node-labels: "ingress-ready=true"
  extraPortMappings:
  - containerPort: 443
    hostPort: 8443
    protocol: TCP
containerdConfigPatches:
- |-
  [plugins."io.containerd.grpc.v1.cri".registry.mirrors."registry.cnoe.localtest.me:8443"]
    endpoint = ["https://registry.cnoe.localtest.me"]
  [plugins."io.containerd.grpc.v1.cri".registry.configs."registry.cnoe.localtest.me".tls]
    insecure_skip_verify = true

@jessesanford jessesanford merged commit 8dc07e6 into example-docker-registry Mar 1, 2024
2 checks passed
@jessesanford jessesanford deleted the docker-registry-fixes branch March 1, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant