Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 366 Bytes

sealing-secrets.md

File metadata and controls

24 lines (19 loc) · 366 Bytes

Sealing secrets

Create a regular Kubernetes Secret:

# lol.yaml
apiVersion: v1
kind: Secret
metadata:
  name: lol
  namespace: your-namespace
type: Opaque
data:
  # base64 encode the values
  lol: bG9sCg==

Convert the Secret to a SealedSecret:

gds sandbox seal < lol.yaml > lol-sealed-secret.yaml --format yaml

Commit the SealedSecret.