diff --git a/k8-manifests/release/inventory.yaml b/k8-manifests/release/inventory.yaml index 8fd04d6b..dc7512e4 100644 --- a/k8-manifests/release/inventory.yaml +++ b/k8-manifests/release/inventory.yaml @@ -49,6 +49,11 @@ spec: configMapKeyRef: name: spring-profile key: SPRING_PROFILES_ACTIVE + - name: MYSQL_HOST + valueFrom: + configMapKeyRef: + name: service-configs + key: MYSQL_HOST - name: ACTIVE_ITEM_TYPE valueFrom: configMapKeyRef: diff --git a/k8-manifests/release/payments.yaml b/k8-manifests/release/payments.yaml index a0f1d5fd..a8ea3374 100644 --- a/k8-manifests/release/payments.yaml +++ b/k8-manifests/release/payments.yaml @@ -49,6 +49,11 @@ spec: configMapKeyRef: name: spring-profile key: SPRING_PROFILES_ACTIVE + - name: MYSQL_HOST + valueFrom: + configMapKeyRef: + name: service-configs + key: MYSQL_HOST resources: requests: cpu: 100m