Files
jbod-monitor/k8s/registry-cred-vaultstaticsecret.yaml
adam 279acce3a5 vso: pull registry creds from nexus/registry-pull
Switch the registry VaultStaticSecret from registry/nexus (Nexus admin)
to nexus/registry-pull (pull-only user k8s-pull).
2026-11-17 17:08:44 -07:00

19 lines
611 B
YAML

# Image pull secret for docker.adamksmith.xyz, synced by VSO from OpenBao.
# Mirrors the cluster's existing *-registry-cred pattern (secret/registry/nexus
# -> dockerconfigjson). Referenced as imagePullSecrets in the DaemonSet.
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: docker-registry-cred
namespace: jbod-monitor
spec:
vaultAuthRef: vault-secrets-operator-system/openbao-kubernetes
mount: secret
path: nexus/registry-pull
type: kv-v2
refreshAfter: 1h
destination:
name: docker-registry-cred
create: true
type: kubernetes.io/dockerconfigjson