Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 691 Bytes

kubernetes.md

File metadata and controls

27 lines (26 loc) · 691 Bytes
title description published date tags editor dateCreated
Kubernetes
true
2025-03-03 21:31:31 UTC
markdown
2024-12-04 09:19:29 UTC

Refresh GHCR creds

  1. recreate on GitHub
  2. backup local dockerconfig
  3. docker login ghcr.io
  4. kubectl create secret generic ghcr --dry-run=client \
    	--from-file=.dockerconfigjson=$HOME/.config/docker/config.json \
    	--type=kubernetes.io/dockerconfigjson -o yaml > ghcr-pull-secret.local.yml
  5. add
metadata:
	annotations:
		sealedsecrets.bitnami.com/cluster-wide: "true"
  1. cat ghcr-pull-secret.local.yml | kubeseal -w ghcr-pull-secret.yml -o yaml & cleanup resulting file
  2. copy to all wanted places