Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 915 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 915 Bytes

naeglelab

naeglelab

seal secrets

vi secrets.yaml

paste the following

apiVersion: v1 kind: Secret metadata: name: proteome-scout-3-secrets namespace: naeglelab data: CELERY_ACCESS_KEY: <echo -n value | base64> CELERY_BROKER_URL: <echo -n value | base64> CELERY_RESULT_BACKEND: <echo -n value | base64> CELERY_SECRET_ACCESS_KEY: <echo -n value | base64> DATABASE_URL: <echo -n value | base64> QUEUE_URL: <echo -n value | base64> type: Opaque

cat secret.yaml | kubeseal --controller-namespace=kube-system --format yaml --cert ssz-k8-sealed-secret-cert.pem > proteome-scout-3-sealed-secrets.yaml

copy just the proteome-scout-3-sealed-secrets.yaml to respective file in templates/proteome-scout-3-sealed-secrets.yaml Note: find ssz-k8-sealed-secret-cert.pem in ssz-projects git repo applicable only for sealing secrets for projects hosted on ssz k8 env