File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1365,9 +1365,9 @@ them on the cluster.
13651365For secrets in `.json`, `.yaml` and `.env` format, make sure you specify the input type when encrypting them with SOPS :
13661366
13671367` ` ` sh
1368- cat config.json | sops -e --input-type=json > config.json.encrypted
1369- cat config.yaml | sops -e --input-type=yaml > config.yaml.encrypted
1370- cat config.env | sops -e --input-type=env > config.env.encrypted
1368+ sops -e --input-type=json /dev/stdin < config. json > config.json.encrypted
1369+ sops -e --input-type=yaml /dev/stdin < config. yaml > config.yaml.encrypted
1370+ sops -e --input-type=env /dev/stdin < config. env > config.env.encrypted
13711371` ` `
13721372
13731373For kustomize-controller to be able to decrypt a JSON config, you need to set the file extension to `.json` :
You can’t perform that action at this time.
0 commit comments