Switch the registry VaultStaticSecret from registry/nexus (Nexus admin) to nexus/registry-pull (pull-only user k8s-pull).
19 lines
611 B
YAML
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
|