Use echo -n rather than echo to avoid trailing newline...

...during secret creation
This commit is contained in:
Stuart Harris
2017-11-16 13:36:45 +00:00
committed by GitHub
parent bf3806ae15
commit eac887d592
+2 -2
View File
@@ -90,8 +90,8 @@ metadata:
name: mysecret
type: Opaque
data:
password: $(echo "s33msi4" | base64)
username: $(echo "jane" | base64)
password: $(echo -n "s33msi4" | base64)
username: $(echo -n "jane" | base64)
EOF
```