Skip to content

Commit

Permalink
Fix wrong type of tls secret for ingress object when using provider v…
Browse files Browse the repository at this point in the history
…ault

The component creates a tls secret of type `opaque` as the type is not
set explicitely. This causes issues with the operator, as the operator
expects the secret type to be `kubernetes.io/tls`

Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Jun 16, 2023
1 parent 37b70d7 commit 42aff5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ local ingress_tls_secret = kube.Secret(params.ingress.tls.secretName) {
'tls.key': params.ingress.tls.vault.certKey,
'tls.crt': params.ingress.tls.vault.cert,
},
type: 'kubernetes.io/tls',
};

local create_keycloak_cert_secret =
Expand Down

0 comments on commit 42aff5b

Please sign in to comment.