- update actuator.http - update helmfile.yaml - add 03-service.yaml - add 02-deployment.yaml - add 01-configmap.yaml - update 01 secret values.yaml with keystore - add values.yaml - add Chart.yaml
26 lines
956 B
YAML
26 lines
956 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: registry-api-environment
|
|
labels:
|
|
app: registry-api
|
|
environment: {{ .Values.environment }}
|
|
tier: frontend
|
|
data:
|
|
SPRING_PROFILES_ACTIVE: {{ .Values.config.profiles | quote }}
|
|
ACCOUNT_REGISTRY_URL: {{ .Values.config.accountRegistryUrl | quote }}
|
|
DEVICE_REGISTRY_URL: {{ .Values.config.deviceRegistryUrl | quote }}
|
|
|
|
# all of this should be preset in application.yaml
|
|
SERVER_PORT: "8443"
|
|
SERVER_SSL_ENABLED: "true"
|
|
SERVER_SSL_KEY_STORE: "/app/resources/cert/keystore.p12"
|
|
SERVER_SSL_KEY_STORE_TYPE: "PKCS12"
|
|
|
|
# This was experimental and should be removed in later versions
|
|
MANAGEMENT_METRICS_TAGS_APPLICATION: "register-api"
|
|
MANAGEMENT_INFLUX_METRICS_EXPORT_ENABLED: "false"
|
|
MANAGEMENT_INFLUX_METRICS_EXPORT_URL: "http://influxdb"
|
|
# adding this here as it's going to be deleted and is not sued internally
|
|
MANAGEMENT_INFLUX_METRICS_EXPORT_TOKEN: "invalidInfluxDbToken=="
|