From 3debe912a0271506a857a2420fbfb5c74c3e80f0 Mon Sep 17 00:00:00 2001 From: Clemens Geibel Date: Fri, 28 Jan 2022 12:54:31 +0100 Subject: [PATCH] Fixed yaml validation errors --- src/main/resources/shynet/ingress.yaml | 9 ++++++--- src/main/resources/shynet/secret.yaml | 2 +- valid-config.edn | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main/resources/shynet/ingress.yaml b/src/main/resources/shynet/ingress.yaml index 5253c2c..f1228ac 100644 --- a/src/main/resources/shynet/ingress.yaml +++ b/src/main/resources/shynet/ingress.yaml @@ -21,6 +21,9 @@ spec: http: paths: - backend: - serviceName: shynet-webserver-service - servicePort: 8080 - path: / \ No newline at end of file + service: + name: shynet-webserver-service + port: + number: 8080 + path: / + pathType: Prefix \ No newline at end of file diff --git a/src/main/resources/shynet/secret.yaml b/src/main/resources/shynet/secret.yaml index 7058599..b729779 100644 --- a/src/main/resources/shynet/secret.yaml +++ b/src/main/resources/shynet/secret.yaml @@ -19,7 +19,7 @@ stringData: DB_NAME: "shynet" DB_USER: postgres-db-user DB_PASSWORD: postgres-db-password - DB_HOST: "postgresql-service:5432" + DB_HOST: "postgresql-service" # Email settings EMAIL_HOST_USER: "" diff --git a/valid-config.edn b/valid-config.edn index fdf04df..98711d3 100644 --- a/valid-config.edn +++ b/valid-config.edn @@ -1,3 +1,3 @@ -{:fqdn "shynet-test.test.meissa-gmbh.de" +{:fqdn "statistics.test.meissa-gmbh.de" :issuer :staging :postgres-data-volume-path "/var/postgres"}