Skip to content

Commit c7dfc5d

Browse files
author
Robin Lenz
committed
Fix Cuby K8s certificate issue with NODE_EXTRA_CA_CERTS
Add NODE_EXTRA_CA_CERTS env var pointing to the Kubernetes service account CA certificate to trust the self-signed K3s API server cert.
1 parent cf196da commit c7dfc5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hetzner-setup/ProcessCube.Cloud/ansible/roles/install_cuby/templates/cuby-operator.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ spec:
136136
env:
137137
- name: NODE_ENV
138138
value: "production"
139+
- name: NODE_EXTRA_CA_CERTS
140+
value: "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
139141
- name: CUBY_MODE
140142
value: "operator"
141143
- name: CUBY_CONFIG_DIR

0 commit comments

Comments
 (0)