diff --git a/config/config-production.yml b/config/config-production.yml index fbfedf2a51f44e17c007361217a5e2f216d7ed91..06bfbdaa6d7c3593a9a569d73c91f2d5a45c2c7e 100755 --- a/config/config-production.yml +++ b/config/config-production.yml @@ -1,6 +1,6 @@ http: server: - port: 8083 + port: 8082 grpc: server: mock: false diff --git a/internal/config/config.go b/internal/config/config.go index 8eb97bb8c6991254cf0f7f3cc091833eda564d73..49ecde635eff2a6dc4358c0f3235c5d84ba8b2c4 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -66,7 +66,6 @@ func LoadConfig(configFilePath ...string) Config { if env == "" { env = defaultEnv } - fmt.Printf("APP_ENV: %v\n", env) fp := fmt.Sprintf("config/config-%s.yml", env) diff --git a/src/main/helm/templates/deployment.yaml b/src/main/helm/templates/deployment.yaml index b4a6d8c9ad6914f941c71fde3d90f6fe7e54e05c..e61b330e0716c6a11714597df44cb4403b2a3bb5 100644 --- a/src/main/helm/templates/deployment.yaml +++ b/src/main/helm/templates/deployment.yaml @@ -59,7 +59,7 @@ spec: containers: - env: - name: GRPC_SERVER_PORT - value: "{{ ((.Values.grpc).server).port }}" + value: "9090" - name: APP_ENV value: "production" {{- with include "app.getCustomList" . }} diff --git a/src/main/helm/values.yaml b/src/main/helm/values.yaml index 759391bd2246f5aa2c63036c8a00137c42e5bc44..7bedbf1d281da4bce00c25d470ed09ad7757f438 100644 --- a/src/main/helm/values.yaml +++ b/src/main/helm/values.yaml @@ -29,8 +29,4 @@ replicaCount: 1 image: repo: docker.ozg-sh.de name: antragraum-proxy - tag: latest # [default: latest] - -grpc: - server: - port: 9090 \ No newline at end of file + tag: latest # [default: latest] \ No newline at end of file diff --git a/src/test/helm/deployment_env_test.yaml b/src/test/helm/deployment_env_test.yaml index 885ca83bf6fe90bbe4d5a6617dc4a08db6ff8c53..951e6b27e8173fc5b45c3adf411333b7532c36d8 100644 --- a/src/test/helm/deployment_env_test.yaml +++ b/src/test/helm/deployment_env_test.yaml @@ -74,15 +74,4 @@ tests: path: spec.template.spec.containers[0].env content: name: APP_ENV - value: "production" - - it: check set envs - set: - grpc: - server: - port: 9091 - asserts: - - contains: - path: spec.template.spec.containers[0].env - content: - name: GRPC_SERVER_PORT - value: "9091" \ No newline at end of file + value: "production" \ No newline at end of file