# Template for the paper-doc Secret. Do not fill this file in and commit it — # create the real Secret out of band, so the values live in the cluster and not # in git history: # # kubectl -n paper-doc create secret generic paper-doc-secrets \ # --from-literal=DB_USER='Govin' \ # --from-literal=DB_PASSWORD='' \ # --from-literal=MCP_HTTP_TOKEN="$(openssl rand -hex 32)" # # Rotating the token is then one `kubectl create secret ... --dry-run=client -o # yaml | kubectl apply -f -` plus a rollout restart, and no image rebuild. # # The registry pull secret is separate and not described here: it is # `aliyun-acr`, copied into this namespace from `default`, and it holds the # container registry's credentials rather than the application's. apiVersion: v1 kind: Secret metadata: name: paper-doc-secrets namespace: paper-doc type: Opaque stringData: DB_USER: Govin DB_PASSWORD: change-me MCP_HTTP_TOKEN: change-me