diff --git a/k8s/deploy.yaml b/k8s/deploy.yaml index 12c8123..7d80532 100644 --- a/k8s/deploy.yaml +++ b/k8s/deploy.yaml @@ -16,10 +16,10 @@ spec: name: control-center-management spec: imagePullSecrets: - - name: regcred + - name: regcred containers: - name: control-center-management - image: 003960268191.dkr.ecr.ap-northeast-2.amazonaws.com/sdt-cloud/control-center-management:0.0.1 + image: 003960268191.dkr.ecr.ap-northeast-2.amazonaws.com/sdt-cloud/control-center-management:0.0.3 imagePullPolicy: Always ports: - containerPort: 8087 @@ -40,3 +40,5 @@ spec: value: "sdt" - name: IAM_AMQP_CREDENTIALS_PASSWORD value: "251327" + - name: DATA_FALL_ENDPOINT + value: "http://data-fall.sdt-cloud.svc.cluster.local:8083" \ No newline at end of file diff --git a/src/main/resources/application-k8s.yaml b/src/main/resources/application-k8s.yaml index 5dd72ab..dcd27cb 100644 --- a/src/main/resources/application-k8s.yaml +++ b/src/main/resources/application-k8s.yaml @@ -7,7 +7,7 @@ spring: uri: ${MONGODB_URL} data-fall: - endpoint: http://13.209.39.139:32171 + endpoint: ${DATA_FALL_ENDPOINT} deployer: endpoint: ${DEPLOYER_ENDPOINT}