1Password / scim-examples

1Password SCIM Bridge deployment examples
https://support.1password.com/scim/
MIT License
148 stars 141 forks source link

Kubernetes deployment fails to load if certificate and key files are not found #229

Closed ag-adampike closed 1 year ago

ag-adampike commented 1 year ago

When OP_TLS_DOMAIN (or OP_LETSENCRYPT_DOMAIN), OP_TLS_CERT_FILE, and OP_TLS_KEY_FILE are set for the op-scim-bridge Deployment, the SCIM bridge container fails to load:

FTL failed to generate TLS config, retrying after backoff delay error="could not find cert file with given path secrets/tls-certificate: stat /secrets/tls-certificate: no such file or directory" application=op-scim build=207041 version=2.7.4

Unsetting these environment variables in the op-scim-configmap ConfigMap and redeploying is a workaround: https://github.com/1Password/scim-examples/blob/a98b3d5626d03755c80c314f85d822274b8faea1/kubernetes/op-scim-config.yaml#L19-L20