SUSE / catapult

SCF and KubeCF CI implementation
Apache License 2.0
15 stars 9 forks source link

Fix tls key name and suppress trailing newline #305

Closed svollath closed 4 years ago

svollath commented 4 years ago

Expects the following key names in configmap, for ingress tls:


data:
  ingress-cert: |
    -----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
  ingress-key: |
    -----BEGIN RSA PRIVATE KEY-----
    ...
    -----END RSA PRIVATE KEY-----
  services: ingress

When those are read from configmap, `jq -j` will enter rawmode, but suppress a trailing newline in the output