Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OPS-2868] Merge latest upstream master into fm-devops #16

Merged
merged 75 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
79d0493
update ui image to 2.25.0 (#478)
tsurdilo Apr 8, 2024
7c33893
Allow forcing a specific chart version. (#479)
robholland Apr 10, 2024
642483f
Update Chart to 0.37.0, Temporal v1.23.1
temporal-data Apr 30, 2024
50566e1
Ensure appVersion is used by default as the server image tag. (#488)
ktulsyan May 16, 2024
448d434
Update Chart to 0.38.1, Temporal v1.23.1
temporal-data May 16, 2024
916e0b6
[Bug] Allow and document configuring Web UI via values.yaml (#394)
washanhanzi May 29, 2024
65333d0
fix(imageTag): Fix default type in values for imageTag (#489)
Blamas May 29, 2024
58ecc66
Update Chart to 0.39.0, Temporal v1.24.0
temporal-data May 31, 2024
bad8c74
Update README.md
alexshtin Jun 1, 2024
2445c43
Update Chart to 0.39.1, Temporal v1.24.1
temporal-data Jun 5, 2024
3478473
Switch to devrel.
robholland Jun 6, 2024
dbd455c
Support new admintools image tag format (#493)
robholland Jun 7, 2024
a232be1
Update Chart to 0.40.0.
temporal-data Jun 7, 2024
eed046b
fix: add support for pre upgrade. (#476)
punit-kulal Jun 8, 2024
e652027
adding missing ImagePullSecrets section to web deployment
GerardoMoraSalazar Apr 25, 2024
4f50c4d
Merge branch 'master' into missing-imagepullsecrets
robholland Jun 8, 2024
f28892a
Whitespace.
robholland Jun 8, 2024
8bba8e0
Merge branch 'missing-imagepullsecrets'
robholland Jun 8, 2024
dfecb23
fix: Use visibility server when defining visibility config (#436)
bakjos Jun 8, 2024
1b62283
fix: sidecarContainers should be an array, not a dict
robholland Jun 8, 2024
dc4af03
Use tplvalues.render for templating inside values (#492)
vogre Jun 10, 2024
f139cf0
Apply security context regardless of persistence engine. (#494)
robholland Jun 10, 2024
0059f62
Update Chart to 0.40.1.
temporal-data Jun 10, 2024
f6e0e3a
Allow to skip database creation (#480)
VLZZZ Jun 14, 2024
b25c4fc
Update Cassandra host URLs to remove the ".cluster.local" suffix (#485)
cege7480 Jun 14, 2024
b9df837
Configure SQL TLS environment variables in server-job (#411)
grzegorz8 Jun 14, 2024
6a0b3a2
Update Chart to 0.41.0.
temporal-data Jun 14, 2024
0928eb8
Fix weird helm lint false alarm. Fixes #284.
robholland Jun 14, 2024
632ad94
Helm 2 compat. Fixes #187.
robholland Jun 14, 2024
174e3db
Update codeowners.
robholland Jun 14, 2024
9a057ff
Revert "Update Cassandra host URLs to remove the ".cluster.local" suf…
prathyushpv Jun 14, 2024
3c6ed90
Update Chart to 0.41.1.
temporal-data Jun 14, 2024
589d670
Adds a PodDisruptionBudget and topologySpreadConstraints to web (#409)
sringel Jun 17, 2024
3d4faa6
Update Chart to 0.42.0.
temporal-data Jun 17, 2024
4354269
Update README to mention you cannot do Cassandra only anymore. (#499)
robholland Jun 18, 2024
05b04ad
Remove invalid line. (#502)
robholland Jun 18, 2024
c418d56
Service account should be set when present, even if not creating. (#498)
robholland Jun 18, 2024
aa2e1ae
Correct outdated port config. (#497)
robholland Jun 18, 2024
1ac58dc
Update Chart to 0.43.0.
temporal-data Jun 18, 2024
f64d4f6
ElasticSearch -> Elasticsearch
alexshtin Jun 18, 2024
aca7017
fix: Escape ES credentials (#505)
VLZZZ Jun 19, 2024
ae6c1ff
feat: updated grafana and prometheus helm dependencies (#424)
dotdc Jun 24, 2024
34297ba
Remove hard coded cluster.local references. (#501)
robholland Jun 24, 2024
b4e53b1
Enable HTTP API for Nexus (#511)
bergundy Jun 25, 2024
a135405
Add FE Ingress (#435)
debugger24 Jul 1, 2024
f8a5833
Add CONTRIBUTING.
robholland Jul 2, 2024
64e949c
Note contributing in README.
robholland Jul 2, 2024
21b2c19
Note slack channel.
robholland Jul 2, 2024
367b0e0
Use a shared config map for all services. (#514)
robholland Jul 2, 2024
6c58247
Pass `ct lint`
robholland Jul 2, 2024
6f9c93d
Lint chart on PR.
robholland Jul 2, 2024
39143bb
Setup for `ci install`. (#522)
robholland Jul 4, 2024
1156651
Fix missed ES quoting issue.
robholland Jul 4, 2024
674fff3
Add postgres-es test.
robholland Jul 4, 2024
ec263ab
Fix branch reference.
robholland Jul 4, 2024
f792271
Update Chart to 0.44.0.
temporal-data Jul 4, 2024
40acb64
Update README to use repo. (#531)
robholland Jul 9, 2024
a1b554e
Check for pgx driver as well as plain postgres. (#546)
robholland Aug 5, 2024
144aadc
Templatize resourceLabels for standardization (#539)
sahilvv Aug 7, 2024
1eb06e0
Feat add authorization options (#542)
qs-synth Sep 2, 2024
3d0561e
Quote sql password for default store in the same way as the visibilit…
knordman Sep 2, 2024
36cf97f
Update Chart to 0.45.0.
temporal-data Sep 7, 2024
f2d48c3
Update Chart to 0.45.1.
temporal-data Sep 10, 2024
ef7ec10
Update UI version description (#556)
Alex-Tideman Sep 10, 2024
6d50f5d
Use admintools-env and secret for ES password consistent with e.g. jo…
csabatuz-chess Sep 25, 2024
5979785
Provide option to create default namespace (#550)
mananmangal Sep 26, 2024
03662b7
add Job annotations and labels (#536)
monotek Sep 27, 2024
7d8c551
Config to specify tags to be excluded in prometheus metrics (#566)
prathyushpv Sep 30, 2024
95b67a7
Update Chart to 0.46.0.
temporal-data Sep 30, 2024
4c3a155
Ensure we use global for includes. (#568)
robholland Oct 1, 2024
74890b3
Update Chart to 0.46.1.
temporal-data Oct 1, 2024
ed12727
Update _helpers.tpl to avoid nested custom resource label (#576)
VLZZZ Oct 1, 2024
9ab3e82
Update Chart to 0.46.2.
temporal-data Oct 1, 2024
6c73b3c
Merge branch 'fm-devops' into master-upgrade
mihaelabalas84 Oct 2, 2024
a1efb12
fix identation
mihaelabalas84 Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
description: "Temporal Admin Tools version to use for release (for example 1.24.1-tctl-1.18.1-cli-0.12.0)"
required: true
ui_version:
description: "Temporal UI version to use for release (for example 2.27.2)"
description: "Temporal UI version to use for release (for example 2.27.2). Please make sure to use version from https://github.com/temporalio/ui-server/releases!"
required: true
bump:
description: "Chart version bump level"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions charts/temporal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies:
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.44.0
version: 0.46.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.24.2
appVersion: 1.25.0
2 changes: 1 addition & 1 deletion charts/temporal/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ app.kubernetes.io/managed-by: {{ index $global "Release" "Service" }}
app.kubernetes.io/instance: {{ index $global "Release" "Name" }}
app.kubernetes.io/version: {{ include "temporal.appVersion" $global }}
app.kubernetes.io/part-of: {{ $global.Chart.Name }}
{{- with $resourceType -}}
{{ with $resourceType -}}
{{- $resourceTypeKey := printf "%sLabels" . -}}
{{- $resourceLabels := dict -}}
{{- if or (eq $scope "") (ne $component "server") -}}
Expand Down
14 changes: 7 additions & 7 deletions charts/temporal/templates/admintools-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "temporal.componentname" (list . "admintools") }}
name: {{ include "temporal.componentname" (list $ "admintools") }}
labels:
{{- include "temporal.resourceLabels" (list . "admintools" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "admintools" "") | nindent 4 }}
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: {{ include "temporal.name" . }}
app.kubernetes.io/name: {{ include "temporal.name" $ }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: admintools
template:
metadata:
labels:
{{- include "temporal.resourceLabels" (list . "admintools" "pod") | nindent 8 }}
{{- include "temporal.resourceLabels" (list $ "admintools" "pod") | nindent 8 }}
{{- with $.Values.admintools.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{ include "temporal.serviceAccount" . }}
{{ include "temporal.serviceAccount" $ }}
containers:
- name: admin-tools
image: "{{ .Values.admintools.image.repository }}:{{ .Values.admintools.image.tag }}"
Expand All @@ -33,9 +33,9 @@ spec:
env:
# TEMPORAL_CLI_ADDRESS is deprecated, use TEMPORAL_ADDRESS instead
- name: TEMPORAL_CLI_ADDRESS
value: {{ include "temporal.fullname" . }}-frontend:{{ .Values.server.frontend.service.port }}
value: {{ include "temporal.fullname" $ }}-frontend:{{ .Values.server.frontend.service.port }}
- name: TEMPORAL_ADDRESS
value: {{ include "temporal.fullname" . }}-frontend:{{ .Values.server.frontend.service.port }}
value: {{ include "temporal.fullname" $ }}-frontend:{{ .Values.server.frontend.service.port }}
{{- if .Values.admintools.additionalEnv }}
{{- toYaml .Values.admintools.additionalEnv | nindent 12 }}
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions charts/temporal/templates/admintools-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "temporal.componentname" (list . "admintools") }}
name: {{ include "temporal.componentname" (list $ "admintools") }}
labels:
{{- include "temporal.resourceLabels" (list . "admintools" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "admintools" "") | nindent 4 }}
spec:
type: ClusterIP
ports:
Expand All @@ -14,7 +14,7 @@ spec:
name: ssh

selector:
app.kubernetes.io/name: {{ include "temporal.name" . }}
app.kubernetes.io/name: {{ include "temporal.name" $ }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: admintools
{{- end }}
4 changes: 2 additions & 2 deletions charts/temporal/templates/frontend-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ include "temporal.componentname" (list . "frontend") }}
name: {{ include "temporal.componentname" (list $ "frontend") }}
labels:
{{- include "temporal.resourceLabels" (list . "frontend" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "frontend" "") | nindent 4 }}
{{- with .Values.server.frontend.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
Expand Down
24 changes: 11 additions & 13 deletions charts/temporal/templates/server-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: ConfigMap
metadata:
name: "{{ include "temporal.fullname" $ }}-config"
labels:
{{- include "temporal.resourceLabels" (list . "" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "" "") | nindent 4 }}
data:
config_template.yaml: |-
log:
Expand Down Expand Up @@ -35,7 +35,7 @@ data:
connectAddr: "{{ include "temporal.persistence.sql.host" (list $ "default") }}:{{ include "temporal.persistence.sql.port" (list $ "default") }}"
connectProtocol: "tcp"
user: {{ include "temporal.persistence.sql.user" (list $ "default") }}
password: "{{ `{{ .Env.TEMPORAL_STORE_PASSWORD }}` }}"
password: {{ `{{ .Env.TEMPORAL_STORE_PASSWORD | quote }}` }}
{{- with (omit $server.config.persistence.default.sql "driver" "driverName" "host" "port" "connectAddr" "connectProtocol" "database" "databaseName" "user" "password" "existingSecret") }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down Expand Up @@ -88,6 +88,10 @@ data:
{{- with $server.metrics.tags }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with $server.metrics.excludeTags }}
excludeTags:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with $server.config.prometheus }}
prometheus:
{{- toYaml . | nindent 10 }}
Expand All @@ -97,22 +101,16 @@ data:
listenAddress: "0.0.0.0:9090"
{{- end }}

{{- if $server.authorization }}
authorization:
jwtKeyProvider:
keySourceURIs:
- "{{ $server.authorization.keySourceURI }}"
refreshInterval: {{ default "1m" $server.authorization.refreshInterval }}
permissionsClaimName: {{ default "permissions" $server.authorization.permissionsClaimName }}
authorizer: {{ default "default" $server.authorization.authorizer }}
claimMapper: {{ default "default" $server.authorization.claimMapper }}
{{- end }}

{{- with $server.config.tls }}
tls:
{{- toYaml . | nindent 10 }}
{{- end }}

{{- with $server.config.authorization }}
authorization:
{{- toYaml . | nindent 10 }}
{{- end }}

services:
frontend:
rpc:
Expand Down
4 changes: 3 additions & 1 deletion charts/temporal/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ spec:
- name: check-elasticsearch-index
image: "{{ $.Values.admintools.image.repository }}:{{ $.Values.admintools.image.tag }}"
imagePullPolicy: {{ $.Values.admintools.image.pullPolicy }}
command: ['sh', '-c', 'until curl --silent --fail {{- if and $.Values.elasticsearch.username $.Values.elasticsearch.password }} --user "{{ $.Values.elasticsearch.username }}:{{ $.Values.elasticsearch.password }}" {{- end }} {{ $.Values.elasticsearch.scheme }}://{{ $.Values.elasticsearch.host }}:{{ $.Values.elasticsearch.port }}/{{ $.Values.elasticsearch.visibilityIndex }} 2>&1 > /dev/null; do echo waiting for elasticsearch index to become ready; sleep 1; done;']
command: ['sh', '-c', 'until curl --silent --fail --user "$ES_USER:$ES_PWD" $ES_SCHEME://$ES_HOST:$ES_PORT/$ES_VISIBILITY_INDEX 2>&1 > /dev/null; do echo waiting for elasticsearch index to become ready; sleep 1; done;']
env:
{{- include "temporal.admintools-env" (list $ "visibility") | nindent 12 }}
{{- end }}
{{- end }}
containers:
Expand Down
4 changes: 2 additions & 2 deletions charts/temporal/templates/server-dynamicconfigmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ include "temporal.fullname" . }}-dynamic-config"
name: "{{ include "temporal.fullname" $ }}-dynamic-config"
labels:
{{- include "temporal.resourceLabels" (list . "" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "" "") | nindent 4 }}
data:
dynamic_config.yaml: |-
{{- if $.Values.server.dynamicConfig }}
Expand Down
43 changes: 36 additions & 7 deletions charts/temporal/templates/server-job.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@

{{- if $.Values.server.enabled }}{{- if or $.Values.schema.createDatabase.enabled $.Values.schema.setup.enabled $.Values.schema.update.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "temporal.componentname" (list . "schema") }}
name: {{ include "temporal.componentname" (list $ "schema") }}
labels:
{{- include "temporal.resourceLabels" (list . "database" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "database" "") | nindent 4 }}
spec:
backoffLimit: {{ $.Values.schema.setup.backoffLimit }}
template:
metadata:
name: {{ include "temporal.componentname" (list . "schema") }}
name: {{ include "temporal.componentname" (list $ "schema") }}
labels:
# Currently there are no labels for job type
{{- include "temporal.resourceLabels" (list . "database" "") | nindent 8 }}
{{- include "temporal.resourceLabels" (list $ "database" "") | nindent 8 }}
{{- with $.Values.schema.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $.Values.schema.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{ include "temporal.serviceAccount" . }}
{{ include "temporal.serviceAccount" $ }}
restartPolicy: OnFailure
initContainers:
{{- if $.Values.cassandra.enabled }}
Expand Down Expand Up @@ -126,6 +131,30 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- if $.Values.server.config.namespaces.create }}
{{- range $namespace := $.Values.server.config.namespaces.namespace }}
- name: create-{{ $namespace.name }}-namespace
image: "{{ $.Values.admintools.image.repository }}:{{ $.Values.admintools.image.tag }}"
imagePullPolicy: {{ $.Values.admintools.image.pullPolicy }}
command: ['/bin/sh','-c']
args: ['temporal operator namespace describe -n {{ $namespace.name }} || temporal operator namespace create -n {{ $namespace.name }}{{- if hasKey $namespace "retention" }} --retention {{ $namespace.retention }}{{- end }}']
env:
- name: TEMPORAL_ADDRESS
value: "{{ include "temporal.fullname" $ }}-frontend.{{ $.Release.Namespace }}.svc:{{ $.Values.server.frontend.service.port }}"
{{- with $.Values.server.additionalVolumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with $.Values.schema.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with $.Values.schema.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
containers:
- name: done
image: "{{ $.Values.admintools.image.repository }}:{{ $.Values.admintools.image.tag }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/temporal/templates/server-pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kind: PodDisruptionBudget
metadata:
name: {{ include "temporal.componentname" (list $ $service) }}-pdb
labels:
{{- include "temporal.resourceLabels" (list . $service "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ $service "") | nindent 4 }}
spec:
{{ toYaml $serviceValues.podDisruptionBudget }}
selector:
Expand Down
4 changes: 2 additions & 2 deletions charts/temporal/templates/server-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "temporal.componentname" (list . "frontend") }}
name: {{ include "temporal.componentname" (list $ "frontend") }}
labels:
{{- include "temporal.resourceLabels" (list $ "frontend" "") | nindent 4 }}
{{- if .Values.server.frontend.service.annotations }}
Expand All @@ -24,7 +24,7 @@ spec:
name: http
# TODO: Allow customizing the node HTTP port
selector:
app.kubernetes.io/name: {{ include "temporal.name" . }}
app.kubernetes.io/name: {{ include "temporal.name" $ }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: frontend

Expand Down
3 changes: 1 addition & 2 deletions charts/temporal/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "temporal.serviceAccountName" . }}
name: {{ include "temporal.serviceAccountName" $ }}
labels:
{{- include "temporal.resourceLabels" (list . "" "") | nindent 4 }}
annotations:
{{- with .Values.serviceAccount.extraAnnotations }}
{{- toYaml . | nindent 4 }}
Expand Down
10 changes: 5 additions & 5 deletions charts/temporal/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "temporal.componentname" (list . "web") }}
name: {{ include "temporal.componentname" (list $ "web") }}
labels:
{{- include "temporal.resourceLabels" (list . "web" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "web" "") | nindent 4 }}
spec:
replicas: {{ .Values.web.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "temporal.name" . }}
app.kubernetes.io/name: {{ include "temporal.name" $ }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: web
template:
Expand All @@ -21,7 +21,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{ include "temporal.serviceAccount" . }}
{{ include "temporal.serviceAccount" $ }}
{{- if .Values.web.additionalVolumes }}
volumes:
{{- toYaml .Values.web.additionalVolumes | nindent 8 }}
Expand All @@ -32,7 +32,7 @@ spec:
imagePullPolicy: {{ .Values.web.image.pullPolicy }}
env:
- name: TEMPORAL_ADDRESS
value: "{{ include "temporal.fullname" . }}-frontend.{{ .Release.Namespace }}.svc:{{ .Values.server.frontend.service.port }}"
value: "{{ include "temporal.fullname" $ }}-frontend.{{ .Release.Namespace }}.svc:{{ .Values.server.frontend.service.port }}"
{{- if .Values.web.additionalEnv }}
{{- toYaml .Values.web.additionalEnv | nindent 12 }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions charts/temporal/templates/web-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ include "temporal.componentname" (list . "web") }}
name: {{ include "temporal.componentname" (list $ "web") }}
labels:
{{- include "temporal.resourceLabels" (list . "web" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "web" "") | nindent 4 }}
{{- with .Values.web.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/temporal/templates/web-pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "temporal.componentname" (list . "web") }}-pdb
name: {{ include "temporal.componentname" (list $ "web") }}-pdb
labels:
{{- include "temporal.resourceLabels" (list . "web" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "web" "") | nindent 4 }}
spec:
{{ toYaml $.Values.web.podDisruptionBudget }}
selector:
Expand Down
6 changes: 3 additions & 3 deletions charts/temporal/templates/web-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "temporal.componentname" (list . "web") }}
name: {{ include "temporal.componentname" (list $ "web") }}
labels:
{{- include "temporal.resourceLabels" (list . "web" "") | nindent 4 }}
{{- include "temporal.resourceLabels" (list $ "web" "") | nindent 4 }}
{{- if .Values.web.service.annotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.web.service.annotations "context" $) | nindent 4 }}
{{- end }}
Expand All @@ -22,7 +22,7 @@ spec:
nodePort: {{ .Values.web.service.nodePort }}
{{- end }}
selector:
app.kubernetes.io/name: {{ include "temporal.name" . }}
app.kubernetes.io/name: {{ include "temporal.name" $ }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: web
{{- end }}
Loading