Skip to content

Commit

Permalink
add necessary configs to api and graphql [SMAR-2514]
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-nereca committed Apr 12, 2024
1 parent 023514c commit 0323b28
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 11 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,6 @@ metadata:
| edgeStreamProcessor.image.tag | string | `nil` | Overrides the image tag whose default is the chart's appVersion |
| edgeStreamProcessor.name | string | `"edge-stream-processor"` | |
| edgeStreamProcessor.nodeSelector | object | `{}` | |
| edgeStreamProcessor.operationMode.livenessDataStrategy | string | `"ServerOnly"` | Possible values are `EdgeStreamOnly` or `ServerOnly` |
| edgeStreamProcessor.operationMode.matchingDataStrategy | string | `"ServerOnly"` | Possible values are `EdgeStreamOnly` or `ServerOnly` |
| edgeStreamProcessor.pdb.create | bool | `false` | create PodDisruptionBudget for edgeStreamProcessor component |
| edgeStreamProcessor.pdb.maxUnavailable | string | `""` | |
| edgeStreamProcessor.pdb.minAvailable | int | `1` | |
Expand Down
1 change: 1 addition & 0 deletions templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ spec:
{{- include "smartface.dbConfig" . | nindent 8 }}
{{- include "smartface.s3Config" . | nindent 8 }}
{{- include "smartface.rmqConfig" . | nindent 8 }}
{{- include "smartface.mqttConfig" . | nindent 8 }}
{{- include "smartface.apiFeaturesConfig" . | nindent 8 }}
{{- include "smartface.statisticsPublish" . | nindent 8 }}
- name: "Hosting__Host"
Expand Down
1 change: 1 addition & 0 deletions templates/auth-api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ spec:
{{- include "smartface.dbConfig" . | nindent 8 }}
{{- include "smartface.s3Config" . | nindent 8 }}
{{- include "smartface.rmqConfig" . | nindent 8 }}
{{- include "smartface.mqttConfig" . | nindent 8 }}
{{- include "smartface.apiFeaturesConfig" . | nindent 8 }}
{{- include "smartface.statisticsPublish" . | nindent 8 }}
- name: "Multitenancy__UseMultitenancy"
Expand Down
4 changes: 0 additions & 4 deletions templates/edge-streams/edge-stream-processor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ spec:
{{- include "smartface.commonEnv" . | nindent 8 }}
{{- include "smartface.rmqConfig" . | nindent 8 }}
{{- include "smartface.dbConfig" . | nindent 8 }}
- name: "OperationMode__MatchingDataStrategy"
value: {{ .Values.edgeStreamProcessor.operationMode.matchingDataStrategy | quote }}
- name: "OperationMode__LivenessDataStrategy"
value: {{ .Values.edgeStreamProcessor.operationMode.livenessDataStrategy | quote }}
resources:
{{- toYaml .Values.edgeStreamProcessor.resources | nindent 10 }}
volumeMounts:
Expand Down
1 change: 1 addition & 0 deletions templates/graphql-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ spec:
{{- include "smartface.dbConfig" . | nindent 8 }}
{{- include "smartface.s3Config" . | nindent 8 }}
{{- include "smartface.rmqConfig" . | nindent 8 }}
{{- include "smartface.mqttConfig" . | nindent 8 }}
- name: "Multitenancy__UseMultitenancy"
value: {{ .Values.features.multitenancy.enabled | quote }}
- name: "Hosting__Host"
Expand Down
5 changes: 0 additions & 5 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,6 @@ liveness:

edgeStreamProcessor:
name: "edge-stream-processor"
operationMode:
# -- Possible values are `EdgeStreamOnly` or `ServerOnly`
matchingDataStrategy: "ServerOnly"
# -- Possible values are `EdgeStreamOnly` or `ServerOnly`
livenessDataStrategy: "ServerOnly"
# -- Annotations for edgeStreamProcessor deployment
annotations: {}
# -- Annotations for edgeStreamProcessor pods
Expand Down

0 comments on commit 0323b28

Please sign in to comment.