Secrets erstellen

 

Version1

kubectl create secret generic SECRETSNAME --from-file=FILENAME

Version2

kubectl create secret generic SECRETSNAME --from-file=.FILENAME --dry-run=client --output=yaml > SECRETSFILE.yaml
kubectl apply -f SECRETSFILE.yaml

Revision #1
Created 19 June 2023 10:25:49 by Alois
Updated 19 June 2023 10:29:15 by Alois