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

chore(configmap): revert the config map back to helm values #194

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading