diff --git a/kube/barnard_starcoin-pricereporter-deployment.yaml b/kube/barnard_starcoin-pricereporter-deployment.yaml index 9d64153..0a5c3db 100644 --- a/kube/barnard_starcoin-pricereporter-deployment.yaml +++ b/kube/barnard_starcoin-pricereporter-deployment.yaml @@ -25,7 +25,7 @@ spec: - name: FORMAT_MESSAGES_PATTERN_DISABLE_LOOKUPS value: "true" - name: STARCOIN_MYSQL_URL - value: "jdbc:mysql://starcoin-db-2.c0bz9kehdvnb.ap-northeast-1.rds.amazonaws.com:3306/price_oracle_barnard?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC" + value: "jdbc:mysql://starcoin-db-2.czftx6muneg7.ap-northeast-1.rds.amazonaws.com:3306/price_oracle_barnard?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC" - name: STARCOIN_MYSQL_USER value: "starcoin" - name: STARCOIN_MYSQL_PWD diff --git a/kube/ingress.yaml b/kube/ingress.yaml index 8152dd7..92cf56e 100644 --- a/kube/ingress.yaml +++ b/kube/ingress.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: "starcoin-pricereporter-ingress" @@ -14,10 +14,16 @@ spec: - http: paths: - path: /main/* + pathType: ImplementationSpecific backend: - serviceName: "starcoin-pricereporter" - servicePort: 80 + service: + name: "starcoin-pricereporter" + port: + number: 80 - path: /barnard/* + pathType: ImplementationSpecific backend: - serviceName: "starcoin-pricereporter-barnard" - servicePort: 80 + service: + name: "starcoin-pricereporter-barnard" + port: + number: 80 diff --git a/kube/starcoin-pricereporter-deployment.yaml b/kube/starcoin-pricereporter-deployment.yaml index a2d49de..18acbde 100644 --- a/kube/starcoin-pricereporter-deployment.yaml +++ b/kube/starcoin-pricereporter-deployment.yaml @@ -25,7 +25,7 @@ spec: - name: FORMAT_MESSAGES_PATTERN_DISABLE_LOOKUPS value: "true" - name: STARCOIN_MYSQL_URL - value: "jdbc:mysql://starcoin-db-2.c0bz9kehdvnb.ap-northeast-1.rds.amazonaws.com:3306/price_oracle?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC" + value: "jdbc:mysql://starcoin-db-2.czftx6muneg7.ap-northeast-1.rds.amazonaws.com:3306/price_oracle?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC" - name: STARCOIN_MYSQL_USER value: "starcoin" - name: STARCOIN_MYSQL_PWD