Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
chore(configmap): revert the config map back to helm values (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
skjindal93 authored Feb 28, 2024
1 parent d05ac93 commit c595ac6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
15 changes: 2 additions & 13 deletions helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.service.config.name }}
name: {{ .Values.configMap.name }}
labels:
release: {{ .Release.Name }}
data:
application.conf: |-
entity.service.config = {
host = entity-service
}
query.service.config = {
host = query-service
}
attributes.service.config = {
host = attribute-service
}
filter.entity.and.enabled = {{ .Values.service.config.gatewayServiceConfig.entityAndFilterEnabled }}
{{- toYaml .Values.configMap.data | nindent 2 }}


19 changes: 15 additions & 4 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ service:
type: ClusterIP
port: 50071
adminPort: 50072
config:
name: gateway-service-config
gatewayServiceConfig:
entityAndFilterEnabled: false

nodeLabels: {}

Expand Down Expand Up @@ -72,6 +68,21 @@ deploymentSelectorMatchLabels:
serviceSelectorLabels:
app: gateway-service

configMap:
name: gateway-service-config
data:
application.conf: |-
entity.service.config = {
host = entity-service
}
query.service.config = {
host = query-service
}
attributes.service.config = {
host = attribute-service
}
filter.entity.and.enabled = false
logConfig:
name: gateway-service-log-config
monitorInterval: 30
Expand Down

0 comments on commit c595ac6

Please sign in to comment.