Skip to content

Commit

Permalink
Added option to enable or disable graphql in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
dt-dilip committed Apr 29, 2024
1 parent 4324d86 commit d4dbf86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/cdefense/templates/graphql/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.graphql.enabled }}
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -111,3 +112,5 @@ spec:
# resources: {}
# terminationMessagePath: /dev/termination-log
# terminationMessagePolicy: File
---
{ end }
1 change: 1 addition & 0 deletions charts/cdefense/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ authservice:
targetPort: 8080

graphql:
enabled: true
nodeSelector: cdefense
tolerations: []
image: cdefense/graphql
Expand Down

0 comments on commit d4dbf86

Please sign in to comment.