7 lines
239 B
Bash
7 lines
239 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
|
||
|
|
CREATE_SMTP_CREDS=$(kubectl -n infctl create secret generic smtp-credentials -o yaml --dry-run=client --from-literal user=$SMTP_USER --from-literal password=$SMTP_PASS)
|
||
|
|
|
||
|
|
echo "$CREATE_SMTP_CREDS" | kubectl apply -f -
|
||
|
|
|