Skip to content

Commit

Permalink
feat: make more environment variables configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
nexus49 committed Nov 19, 2024
1 parent ff91770 commit ae4ebab
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/account-operator-crds/values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
kcp:
enabled: false
enabled: false
2 changes: 1 addition & 1 deletion charts/account-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: account-operator
description: A Helm chart for Kubernetes
type: application
version: 0.2.28
version: 0.3.0
appVersion: "0.94.0"
dependencies:
- name: account-operator-crds
Expand Down
10 changes: 10 additions & 0 deletions charts/account-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ spec:
value: "{{ .Values.subroutines.namespace.enabled }}"
- name: SUBROUTINES_FGA_ENABLED
value: "{{ .Values.subroutines.fga.enabled }}"
- name: SUBROUTINES_FGA_GRPC_ADDR
value: "{{ .Values.subroutines.fga.grpcAddr }}"
- name: SUBROUTINES_FGA_ROOT_NAMESPACE
value: "{{ .Values.subroutines.fga.rootNamespace }}"
- name: SUBROUTINES_FGA_OBJECT_TYPE
value: "{{ .Values.subroutines.fga.objectType }}"
- name: SUBROUTINES_FGA_PARENT_RELATION
value: "{{ .Values.subroutines.fga.parentRelation }}"
- name: SUBROUTINES_FGA_CREATOR_RELATION
value: "{{ .Values.subroutines.fga.creatorRelation }}"
- name: SUBROUTINES_EXTENSION_ENABLED
value: "{{ .Values.subroutines.extension.enabled }}"
- name: SUBROUTINES_EXTENSION_READY_ENABLED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,16 @@ operator match the snapshot:
value: "true"
- name: SUBROUTINES_FGA_ENABLED
value: "true"
- name: SUBROUTINES_FGA_GRPC_ADDR
value: ""
- name: SUBROUTINES_FGA_ROOT_NAMESPACE
value: openmfp-root
- name: SUBROUTINES_FGA_OBJECT_TYPE
value: account
- name: SUBROUTINES_FGA_PARENT_RELATION
value: parent
- name: SUBROUTINES_FGA_CREATOR_RELATION
value: owner
- name: SUBROUTINES_EXTENSION_ENABLED
value: "true"
- name: SUBROUTINES_EXTENSION_READY_ENABLED
Expand Down Expand Up @@ -247,6 +257,16 @@ operator match the snapshot (with kubeconfigSecret):
value: "true"
- name: SUBROUTINES_FGA_ENABLED
value: "true"
- name: SUBROUTINES_FGA_GRPC_ADDR
value: ""
- name: SUBROUTINES_FGA_ROOT_NAMESPACE
value: openmfp-root
- name: SUBROUTINES_FGA_OBJECT_TYPE
value: account
- name: SUBROUTINES_FGA_PARENT_RELATION
value: parent
- name: SUBROUTINES_FGA_CREATOR_RELATION
value: owner
- name: SUBROUTINES_EXTENSION_ENABLED
value: "true"
- name: SUBROUTINES_EXTENSION_READY_ENABLED
Expand Down
5 changes: 5 additions & 0 deletions charts/account-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ subroutines:
enabled: true
fga:
enabled: true
grpcAddr: ""
rootNamespace: openmfp-root
objectType: account
parentRelation: parent
creatorRelation: owner
extension:
enabled: true
extensionReady:
Expand Down

0 comments on commit ae4ebab

Please sign in to comment.