Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cache-helm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
cache-helm
Commits
25995485
Commit
25995485
authored
2 years ago
by
Tancho Mihov
Browse files
Options
Downloads
Patches
Plain Diff
Ingress added
parent
95fb1319
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#51466
passed with stage
in 9 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Chart.yaml
+1
-1
1 addition, 1 deletion
Chart.yaml
README.md
+10
-2
10 additions, 2 deletions
README.md
templates/ingress.yaml
+29
-0
29 additions, 0 deletions
templates/ingress.yaml
values.yaml
+13
-1
13 additions, 1 deletion
values.yaml
with
53 additions
and
4 deletions
Chart.yaml
+
1
−
1
View file @
25995485
...
...
@@ -2,5 +2,5 @@ apiVersion: v1
appVersion
:
0.0.2
description
:
cache deployment
name
:
cache
version
:
0.0.
2
version
:
0.0.
3
icon
:
"
https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg"
This diff is collapsed.
Click to expand it.
README.md
+
10
−
2
View file @
25995485
# cache




cache deployment
...
...
@@ -24,6 +24,14 @@ cache deployment
| image.repository | string |
`"eu.gcr.io/vrgn-infra-prj"`
| |
| image.sha | string |
`""`
| Image sha, usually generated by the CI Uses image.tag if empty |
| image.tag | string |
`""`
| Image tag Uses .Chart.AppVersion if empty |
| ingress.annotations."cert-manager.io/cluster-issuer" | string |
`"letsencrypt-production-http"`
| |
| ingress.annotations."kubernetes.io/ingress.class" | string |
`"nginx"`
| |
| ingress.annotations."kubernetes.io/ingress.global-static-ip-name" | string |
`"dev-light-public"`
| |
| ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" | string |
`"/$2"`
| |
| ingress.enabled | bool |
`true`
| |
| ingress.frontendDomain | string |
`"gaiax.vereign.com"`
| |
| ingress.frontendTlsSecretName | string |
`"cert-manager-tls"`
| |
| ingress.tlsEnabled | bool |
`true`
| |
| log.encoding | string |
`"json"`
| |
| log.level | string |
`"debug"`
| |
| metrics.enabled | bool |
`true`
| Enable prometheus metrics |
...
...
@@ -44,7 +52,7 @@ cache deployment
| security.runAsGid | int |
`0`
| Group used by the apps |
| security.runAsNonRoot | bool |
`false`
| by default, apps run as non-root |
| security.runAsUid | int |
`0`
| User used by the apps |
| service.port | int |
`808
3
`
| |
| service.port | int |
`808
0
`
| |
----------------------------------------------
Autogenerated from chart metadata using
[
helm-docs v1.10.0
](
https://github.com/norwoodj/helm-docs/releases/v1.10.0
)
This diff is collapsed.
Click to expand it.
templates/ingress.yaml
0 → 100644
+
29
−
0
View file @
25995485
{{
- if .Values.ingress.enabled
}}
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
{{
template "app.name" .
}}
namespace
:
{{
.Release.Namespace
}}
annotations
:
{{
toYaml .Values.ingress.annotations | indent 4
}}
labels
:
{{
- include "app.labels" . | nindent 4
}}
spec
:
{{
- if .Values.ingress.tlsEnabled
}}
tls
:
-
hosts
:
-
{{
.Values.ingress.frontendDomain
}}
secretName
:
{{
.Values.ingress.frontendTlsSecretName
}}
{{
- end
}}
rules
:
-
host
:
{{
.Values.ingress.frontendDomain
}}
http
:
paths
:
-
path
:
/{{ .Release.Namespace }}/{{ template "app.name" . }}(/|$)(.*)
pathType
:
Prefix
backend
:
service
:
name
:
{{
template "app.name" .
}}
port
:
number
:
{{
.Values.service.port
}}
{{
- end
}}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
values.yaml
+
13
−
1
View file @
25995485
...
...
@@ -84,7 +84,7 @@ security:
##
##
service
:
port
:
808
3
port
:
808
0
cache
:
http
:
...
...
@@ -101,3 +101,15 @@ redis:
pass
:
"
"
db
:
0
expiration
:
1h
ingress
:
enabled
:
true
annotations
:
cert-manager.io/cluster-issuer
:
letsencrypt-production-http
kubernetes.io/ingress.class
:
nginx
kubernetes.io/ingress.global-static-ip-name
:
dev-light-public
nginx.ingress.kubernetes.io/rewrite-target
:
/$2
tlsEnabled
:
true
frontendDomain
:
gaiax.vereign.com
frontendTlsSecretName
:
cert-manager-tls
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