Kubernetes: revert unintentionally change

This commit is contained in:
sirferl 2020-11-14 12:00:59 +01:00
parent 334367376f
commit 5f1978a4da
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def build_secret(secret_format, secret_name, body, private_key, cert_chain):
if secret_format == "TLS":
secret["type"] = "kubernetes.io/tls"
secret["data"] = {
"tls.crt": base64encode("%s\n%s" % (body, cert_chain)),
"tls.crt": base64encode(body),
"tls.key": base64encode(private_key),
}
if secret_format == "Certificate":