cool-waitress-85601
12/02/2025, 3:48 AMancient-wolf-19325
12/02/2025, 3:48 AM/etc/ssl/certs/ca-certificates.crt (Debian/Ubuntu) or the appropriate trust store for your base image. This approach is referenced in the context of Flyte's sandbox and k3s, where placing extra CA certs in PEM format within a designated directory (e.g., ~/.flyte/sandbox/ca-certificates) adds them to the trust store, making them available to FlyteAdmin and other components that need to trust the OIDC provider's certificate (source).
Would you like a step-by-step example for a specific environment or more details on updating the trust store?
Sources:
- https://github.com/flyteorg/flyte/pull/3609 π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.cool-waitress-85601
12/02/2025, 3:51 AMancient-wolf-19325
12/02/2025, 3:51 AM/etc/ssl/certs/ca-certificates.crt (Debian/Ubuntu) or the appropriate location for your image.
4. Restart FlyteAdmin so it picks up the new trust configuration.
This approach is referenced in the context of Flyte's sandbox and k3s, where placing extra CA certs in a directory adds them to the trust store (source). The same method applies to Kubernetes deployments.
Would you like a concrete YAML example for these steps?
Sources:
- https://github.com/flyteorg/flyte/pull/3609 π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.cool-waitress-85601
12/02/2025, 3:57 AMancient-wolf-19325
12/02/2025, 3:57 AMadditionalVolumes, additionalVolumeMounts, and additionalContainers values, you can:
1. Create a ConfigMap with your CA certificate:
apiVersion: v1
kind: ConfigMap
metadata:
name: oidc-ca-cert
namespace: flyte
data:
oidc-ca.crt: |
-----BEGIN CERTIFICATE-----
...your CA certificate...
-----END CERTIFICATE-----
2. Add the following to your values.yaml for the flyte-core Helm chart:
flyteadmin:
additionalVolumes:
- name: oidc-ca-cert
configMap:
name: oidc-ca-cert
additionalVolumeMounts:
- name: oidc-ca-cert
mountPath: /etc/oidc-ca
readOnly: true
additionalContainers:
- name: update-ca-cert
image: busybox
command: ["/bin/sh", "-c"]
args:
- "cat /etc/oidc-ca/oidc-ca.crt >> /etc/ssl/certs/ca-certificates.crt"
volumeMounts:
- name: oidc-ca-cert
mountPath: /etc/oidc-ca
- name: sslcerts
mountPath: /etc/ssl/certs/
This mounts your CA cert, and the update-ca-cert container appends it to the system trust store before FlyteAdmin starts. Adjust the sslcerts volume if your base image uses a different path for CA certificates.
This method uses the documented Helm chart extension points for volumes, mounts, and containers (flyte-core values.yaml).
Sources:
- flyte-core values.yaml π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.cool-waitress-85601
12/02/2025, 4:28 AMancient-wolf-19325
12/02/2025, 4:28 AMadditionalVolumes and additionalVolumeMounts in your values.yaml. Hereβs an example:
1. Create the Secret with your CA certificate:
apiVersion: v1
kind: Secret
metadata:
name: oidc-ca-cert
namespace: flyte
type: Opaque
stringData:
oidc-ca.crt: |
-----BEGIN CERTIFICATE-----
...your CA certificate...
-----END CERTIFICATE-----
2. Reference the Secret in your `values.yaml`:
flyteadmin:
additionalVolumes:
- name: oidc-ca-cert
secret:
secretName: oidc-ca-cert
additionalVolumeMounts:
- name: oidc-ca-cert
mountPath: /etc/oidc-ca
readOnly: true
additionalContainers:
- name: update-ca-cert
image: busybox
command: ["/bin/sh", "-c"]
args:
- "cat /etc/oidc-ca/oidc-ca.crt >> /etc/ssl/certs/ca-certificates.crt"
volumeMounts:
- name: oidc-ca-cert
mountPath: /etc/oidc-ca
- name: sslcerts
mountPath: /etc/ssl/certs/
This approach is supported by the Helm chartβs documented extension points (flyte-core values.yaml).
Would you like more detail or a full deployment example?
Sources:
- https://github.com/flyteorg/flyte/pull/3807
- https://github.com/flyteorg/flytesnacks/blob/master/examples/productionizing/productionizing/use_secrets.py π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.cool-waitress-85601
12/02/2025, 4:53 AMsslcerts is coming from in your exampleancient-wolf-19325
12/02/2025, 4:53 AMsslcerts in the example is not automatically created by the Flyte Helm chart; you must define it yourself in additionalVolumes and mount it in both the update-ca-cert container and the main FlyteAdmin container. This is necessary if you want to write to /etc/ssl/certs/ (the system trust store), since the default root filesystem may be read-only or not shared between containers.
For example, add this to your `values.yaml`:
flyteadmin:
additionalVolumes:
- name: sslcerts
emptyDir: {}
- name: oidc-ca-cert
secret:
secretName: oidc-ca-cert
additionalVolumeMounts:
- name: sslcerts
mountPath: /etc/ssl/certs/
- name: oidc-ca-cert
mountPath: /etc/oidc-ca
readOnly: true
additionalContainers:
- name: update-ca-cert
image: busybox
command: ["/bin/sh", "-c"]
args:
- "cat /etc/oidc-ca/oidc-ca.crt >> /etc/ssl/certs/ca-certificates.crt"
volumeMounts:
- name: oidc-ca-cert
mountPath: /etc/oidc-ca
- name: sslcerts
mountPath: /etc/ssl/certs/
This creates a shared, writable volume for the trust store. The sslcerts volume is an emptyDir, so both the init container and FlyteAdmin can access the updated CA bundle.
Would you like a full deployment YAML or more explanation?
Sources:
- https://github.com/flyteorg/flyte/blob/master/charts/flyte-core/values-keycloak-idp-flyteclients-without-browser.yaml π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.