diff --git a/charts/account-operator/templates/deployment.yaml b/charts/account-operator/templates/deployment.yaml index 1e9724f1e..68d22f846 100644 --- a/charts/account-operator/templates/deployment.yaml +++ b/charts/account-operator/templates/deployment.yaml @@ -54,6 +54,14 @@ spec: cpu: {{ .Values.deployment.resources.requests.cpu }} memory: {{ .Values.deployment.resources.requests.memory }} env: + - name: SUBROUTINES_NAMESPACE_ENABLED + value: "{{ .Values.subroutines.namespace.enabled }}" + - name: SUBROUTINES_CREATOR_ENABLED + value: "{{ .Values.subroutines.creator.enabled }}" + - name: SUBROUTINES_EXTENSION_ENABLED + value: "{{ .Values.subroutines.extension.enabled }}" + - name: SUBROUTINES_EXTENSION_READY_ENABLED + value: "{{ .Values.subroutines.extensionReady.enabled }}" - name: KCP_ENABLED value: "{{ .Values.kcp.enabled }}" - name: KCP_VIRTUAL_WORKSPACE_URL diff --git a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap index 93cb7c8b3..a192e6922 100644 --- a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap +++ b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap @@ -94,6 +94,14 @@ operator match the snapshot: - --log-level= - --health-probe-bind-address=:8081 env: + - name: SUBROUTINES_NAMESPACE_ENABLED + value: "true" + - name: SUBROUTINES_CREATOR_ENABLED + value: "true" + - name: SUBROUTINES_EXTENSION_ENABLED + value: "true" + - name: SUBROUTINES_EXTENSION_READY_ENABLED + value: "true" - name: KCP_ENABLED value: "false" - name: KCP_VIRTUAL_WORKSPACE_URL @@ -235,6 +243,14 @@ operator match the snapshot (with kubeconfigSecret): - --log-level= - --health-probe-bind-address=:8081 env: + - name: SUBROUTINES_NAMESPACE_ENABLED + value: "true" + - name: SUBROUTINES_CREATOR_ENABLED + value: "true" + - name: SUBROUTINES_EXTENSION_ENABLED + value: "true" + - name: SUBROUTINES_EXTENSION_READY_ENABLED + value: "true" - name: KCP_ENABLED value: "false" - name: KCP_VIRTUAL_WORKSPACE_URL diff --git a/charts/account-operator/values.yaml b/charts/account-operator/values.yaml index bf2331cb2..9b083b5e6 100644 --- a/charts/account-operator/values.yaml +++ b/charts/account-operator/values.yaml @@ -27,4 +27,14 @@ kcp: enabled: false virtualWorkspaceUrl: "" +subroutines: + namespace: + enabled: true + creator: + enabled: true + extension: + enabled: true + extensionReady: + enabled: true + kubeconfigSecret: ""