Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
k8s-gitops
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christian ZHENG
k8s-gitops
Commits
4a7865df
Commit
4a7865df
authored
Aug 2, 2023
by
Christian ZHENG
Browse files
Options
Downloads
Patches
Plain Diff
update values
parent
60df13c8
Branches
main
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
templates/api-ingress.yaml
+0
-1
0 additions, 1 deletion
templates/api-ingress.yaml
values.1.yaml
+1
-1
1 addition, 1 deletion
values.1.yaml
values.2.yaml
+30
-0
30 additions, 0 deletions
values.2.yaml
with
31 additions
and
2 deletions
templates/api-ingress.yaml
+
0
−
1
View file @
4a7865df
...
@@ -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
}}
...
...
This diff is collapsed.
Click to expand it.
values.yaml
→
values.
1.
yaml
+
1
−
1
View file @
4a7865df
...
@@ -10,7 +10,7 @@ api:
...
@@ -10,7 +10,7 @@ api:
tag
:
latest
tag
:
latest
replicaCount
:
1
replicaCount
:
1
ingress
:
ingress
:
tlsEnabled
:
tru
e
tlsEnabled
:
fals
e
host
:
api.czheng.takima.school
host
:
api.czheng.takima.school
db
:
db
:
endpoint
:
cdb-postgresql:5432
endpoint
:
cdb-postgresql:5432
...
...
This diff is collapsed.
Click to expand it.
values.2.yaml
0 → 100644
+
30
−
0
View file @
4a7865df
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment