chilly-arm-43055
05/17/2022, 8:50 AMcontroller
or sidecar
), the oathkeeper-maester
is installed. Is there a technical reason why it is needed, even if I don’t want to use Oathkeeper CRDs but just the JSON access rules file? Or is it just that the Helm chart was written like that without the option to disable the installation of oathkeeper-maester
?happy-morning-85531
05/17/2022, 9:07 AM$ helm install \
--set 'maester.enabled=false' \
ory/oathkeeper
chilly-arm-43055
05/17/2022, 9:08 AMhappy-morning-85531
05/17/2022, 9:10 AMhappy-morning-85531
05/17/2022, 9:12 AMhappy-morning-85531
05/17/2022, 9:13 AMglobal.maester.enabled
instead?chilly-arm-43055
05/17/2022, 9:15 AMglobals.maester.enabled
but anyway then there is no condition around the maester container in the sidecar deployment pod: https://github.com/ory/k8s/blob/master/helm/charts/oathkeeper/templates/deployment-sidecar.yaml#L108
So we would have to modify that as well right?happy-morning-85531
05/17/2022, 9:16 AM{{- if eq .Values.global.ory.oathkeeper.maester.mode "sidecar" }}
happy-morning-85531
05/17/2022, 9:16 AMchilly-arm-43055
05/17/2022, 9:22 AMdeployment-sidecar.yaml
reinforced this thought (it allows to inject additional containers into the deployment):
{{- if .Values.deployment.extraContainers }}
{{ tpl .Values.deployment.extraContainers . | indent 8 }}
{{- end }}
Can you confirm what the “mode” was meant to mean?happy-morning-85531
05/17/2022, 9:28 AMworried-kitchen-94392
05/17/2022, 11:13 AMmode
is supposed to control how the maester controller behaves, but i see how the name cloud be misleadingworried-kitchen-94392
05/17/2022, 11:15 AMchilly-arm-43055
05/19/2022, 8:39 AM