Skip to content

Commit 0308389

Browse files
mayurcrewaleMayur Rewale
andauthored
update template (#50)
* update template * Update server-secret.yaml * Update server-service.yaml * Update server-configmap.yaml * Update server-job.yaml * Update server-pdb.yaml * Update Chart.yaml * Revert back to upstream version * Changed chart action version * added debug mode * added debug mode * modified values.yaml * modified values.yaml * updated values.yaml * template format corrected * values.yaml restored --------- Co-authored-by: Mayur Rewale <mayurrewale@OSX-90051.local>
1 parent 3ec45a2 commit 0308389

File tree

5 files changed

+18
-15
lines changed

5 files changed

+18
-15
lines changed

.github/workflows/lint-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: 3.7
2222

2323
- name: Set up chart-testing
24-
uses: helm/chart-testing-action@v2.2.1
24+
uses: helm/chart-testing-action@v2.4.0
2525

2626
- name: Run chart-testing (list-changed)
2727
id: list-changed
@@ -32,7 +32,7 @@ jobs:
3232
fi
3333
3434
- name: Run chart-testing (lint)
35-
run: ct lint --validate-maintainers=false --lint-conf lintconf.yaml
35+
run: ct lint --debug --validate-maintainers=false --lint-conf lintconf.yaml
3636

3737
# Disabled until we update/fix the jenkins, ingress-nginx and vouch charts
3838
# - name: Create kind cluster

charts/temporal/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type: application
4949

5050
# This is the chart version. This version number should be incremented each time you make changes
5151
# to the chart and its templates, including the app version.
52-
version: 0.24.0
52+
version: 0.24.1
5353

5454
# This is the version number of the application being deployed. This version number should be
5555
# incremented each time you make changes to the application.

charts/temporal/templates/server-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{{- if $.Values.server.enabled }}
22
{{- range $service := (list "frontend" "history" "matching" "worker") }}
3-
{{- $serviceValues := index $.Values.server $service -}}
4-
---
3+
{{- $serviceValues := index $.Values.server $service }}
54
apiVersion: apps/v1
65
kind: Deployment
76
metadata:
@@ -186,5 +185,6 @@ spec:
186185
topologySpreadConstraints:
187186
{{- toYaml . | nindent 8 }}
188187
{{- end }}
188+
---
189189
{{- end }}
190190
{{- end }}

charts/temporal/templates/server-service.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{{- if $.Values.server.enabled }}
2-
---
32
apiVersion: v1
43
kind: Service
54
metadata:
@@ -30,10 +29,9 @@ spec:
3029
app.kubernetes.io/instance: {{ .Release.Name }}
3130
app.kubernetes.io/component: frontend
3231

33-
34-
{{- range $service := (list "frontend" "matching" "history" "worker") }}
35-
{{- $serviceValues := index $.Values.server $service -}}
3632
---
33+
{{- range $service := (list "frontend" "matching" "history" "worker") }}
34+
{{- $serviceValues := index $.Values.server $service }}
3735
apiVersion: v1
3836
kind: Service
3937
metadata:
@@ -76,5 +74,6 @@ spec:
7674
app.kubernetes.io/instance: {{ $.Release.Name }}
7775
app.kubernetes.io/component: {{ $service }}
7876

77+
---
7978
{{- end }}
8079
{{- end }}

charts/temporal/values.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,18 +301,22 @@ web:
301301
# loadBalancerIP:
302302

303303
ingress:
304-
enabled: false
305-
# className:
304+
enabled: true
305+
className: alb
306306
annotations: {}
307-
# kubernetes.io/ingress.class: traefik
308-
# ingress.kubernetes.io/ssl-redirect: "false"
307+
kubernetes.io/ingress.class: traefik
308+
# ingress.kubernetes.io/ssl-redirect: "true"
309309
# traefik.frontend.rule.type: PathPrefix
310+
# alb.ingress.kubernetes.io/scheme: "internet-facing" │
311+
# # # │alb.ingress.kubernetes.io/security-groups: "sg-042081a1c69c1d8be" │
312+
# alb.ingress.kubernetes.io/success-codes: "200"
313+
310314
hosts:
311-
- "/"
315+
- "csw.integration.opengov.zone"
312316
# - "domain.com/xyz"
313317
# - "domain.com"
314318
tls: []
315-
# - secretName: chart-example-tls
319+
# - secretName: chart-example-tlsuuuu
316320
# hosts:
317321
# - chart-example.local
318322

0 commit comments

Comments
 (0)