Open TheisFerre opened 1 year ago
Hey @TheisFerre ! Unfortunately, I think this is a shortcoming of the existing chart. If you are using a standard license key, then you do not want to use the license.file
values.
Instead, you probably want to do something like the following to set the env var yourself:
pod:
env:
- name: RSW_LICENSE
valueFrom:
secretKeyRef:
name: my-secret
key: secret-key
We can keep this issue open until we add a feature to make this easier in the chart though 😄
I am trying to read the license from a secret object created in Kubernetes. However, i am not able to succesfully do so (my rstudio container does not start)
The following config for the license is being used:
I have ensured that my secret exists and contains the license as i expect by running
k get secret rsw-license-key --template {{.data.license}} | base64 -d
.I see the following when reading the logs:
If i put in the license directly in my helm chart under the
license.key
value, i can succesfully deploy Workbench.Can you please help me solve this - maybe by an example of how i read the license from a secret.