Skip to content
Snippets Groups Projects
Commit 4a7865df authored by Christian ZHENG's avatar Christian ZHENG
Browse files

update values

parent 60df13c8
Branches main
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ metadata: ...@@ -4,7 +4,6 @@ metadata:
annotations: annotations:
kubernetes.io/ingress.class: nginx kubernetes.io/ingress.class: nginx
{{- if .Values.api.ingress.tlsEnabled }} {{- if .Values.api.ingress.tlsEnabled }}
kubernetes.io/tls-acme: 'true'
nginx.ingress.kubernetes.io/cors-allow-headers: Content-Type nginx.ingress.kubernetes.io/cors-allow-headers: Content-Type
nginx.ingress.kubernetes.io/cors-allow-methods: '*' nginx.ingress.kubernetes.io/cors-allow-methods: '*'
nginx.ingress.kubernetes.io/cors-allow-origin: {{ .Values.front.ingress.host }} nginx.ingress.kubernetes.io/cors-allow-origin: {{ .Values.front.ingress.host }}
......
...@@ -10,7 +10,7 @@ api: ...@@ -10,7 +10,7 @@ api:
tag: latest tag: latest
replicaCount: 1 replicaCount: 1
ingress: ingress:
tlsEnabled: true tlsEnabled: false
host: api.czheng.takima.school host: api.czheng.takima.school
db: db:
endpoint: cdb-postgresql:5432 endpoint: cdb-postgresql:5432
......
# Default values for CDB app.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# We have only done front for now
name: cdb
api:
image:
repository: registry.gitlab.com/takima-school/images/cdb/api
tag: latest
replicaCount: 3
ingress:
tlsEnabled: true
host: api.czheng.takima.school
db:
endpoint: cdb-postgresql:5432
front:
enabled: true
image:
repository: registry.gitlab.com/takima-school/images/cdb/www
tag: latest
replicaCount: 5
ingress:
tlsEnabled: true
host: www.czheng.takima.school
db:
dbName: hydra
prefix: cdb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment