Skip to content

Commit

Permalink
feat: make subroutines configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
nexus49 committed Oct 25, 2024
1 parent 2150b79 commit 6f8f73e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/account-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions charts/account-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,14 @@ kcp:
enabled: false
virtualWorkspaceUrl: ""

subroutines:
namespace:
enabled: true
creator:
enabled: true
extension:
enabled: true
extensionReady:
enabled: true

kubeconfigSecret: ""

0 comments on commit 6f8f73e

Please sign in to comment.