Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
francescopagnamenta authored Jan 30, 2025
2 parents 9f6c961 + be2c395 commit cf17f81
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* @openfga/backend @openfga/dx
README.md @openfga/product @openfga/community @openfga/docs @openfga/backend @openfga/dx
* @openfga/backend @openfga/dx @openfga/helm-chart-maintainers
README.md @openfga/product @openfga/community @openfga/docs @openfga/backend @openfga/dx
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
helm repo update
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0
uses: helm/chart-releaser-action@v1.7.0
with:
config: .github/cr.yaml
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
check-latest: true

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
uses: helm/chart-testing-action@v2.7.0

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@v1.11.0
uses: helm/kind-action@v1.12.0

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
Expand Down
7 changes: 5 additions & 2 deletions charts/openfga/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
{{- with .Values.commonLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podExtraLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down Expand Up @@ -161,7 +164,7 @@ spec:
- name: OPENFGA_DATASTORE_CONN_MAX_LIFETIME
value: "{{ .Values.datastore.connMaxLifetime }}"
{{- end }}

{{- if .Values.maxConcurrentReadsForCheck }}
- name: OPENFGA_MAX_CONCURRENT_READS_FOR_CHECK
value: "{{ .Values.maxConcurrentReadsForCheck }}"
Expand Down Expand Up @@ -189,7 +192,7 @@ spec:

{{- if .Values.grpc.tls.enabled }}
- name: OPENFGA_GRPC_TLS_ENABLED
value: {{ .Values.grpc.tls.enabled }}
value: "{{ .Values.grpc.tls.enabled }}"

- name: OPENFGA_GRPC_TLS_CERT
value: {{ .Values.grpc.tls.cert }}
Expand Down
8 changes: 8 additions & 0 deletions charts/openfga/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,14 @@
},
"default": {}
},
"podExtraLabels": {
"type": "object",
"description": "Map of labels to add to the pods' manifest",
"additionalProperties": {
"type": "string"
},
"default": {}
},
"service": {
"type": "object",
"properties": {
Expand Down
2 changes: 2 additions & 0 deletions charts/openfga/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ serviceAccount:
annotations: {}

podAnnotations: {}
podExtraLabels: {}

extraEnvVars: []
extraVolumes: []
Expand Down Expand Up @@ -204,6 +205,7 @@ datastore:
connMaxLifetime:
applyMigrations: true
waitForMigrations: true
migrationType: job
migrations:
resources: {}
image:
Expand Down

0 comments on commit cf17f81

Please sign in to comment.