Skip to content

Commit

Permalink
Merge pull request #24 from archway-network/hermes-v1.10.3-update
Browse files Browse the repository at this point in the history
feat(hermes): add complete security context and update hermes to v1.10.3
  • Loading branch information
shahbazn authored Oct 7, 2024
2 parents 438581d + 13c7f4b commit 17a23ba
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/hermes-relayer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ apiVersion: v2
name: hermes-relayer
description: A Helm chart for Kubernetes
type: application
version: 1.5.0
version: 1.5.1
appVersion: 1.10.3
8 changes: 8 additions & 0 deletions charts/hermes-relayer/templates/clientUpdateCronJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ spec:
- name: chain1mnenomic
readOnly: true
mountPath: /etc/mnemonic
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 16 }}
{{- end }}
- name: init-chain-2
image: "{{.Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion}}"
args: [
Expand All @@ -74,6 +78,10 @@ spec:
- name: chain2mnenomic
readOnly: true
mountPath: /etc/mnemonic
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 16 }}
{{- end }}
containers:
- name: update-client-chain-1
image: "{{.Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion}}"
Expand Down
11 changes: 8 additions & 3 deletions charts/hermes-relayer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ metadata:
{{- include "hermes-relayer.labels" . | nindent 4}}
spec:
replicas: {{.Values.replicaCount}}
securityContext:
runAsUser: 2000
runAsGroup: 2000
selector:
matchLabels:
{{- include "hermes-relayer.selectorLabels" . | nindent 6 }}
Expand Down Expand Up @@ -62,6 +59,10 @@ spec:
- name: chain1mnenomic
readOnly: true
mountPath: /etc/mnemonic
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
- name: init-chain-2
image: "{{.Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion}}"
args: [
Expand All @@ -80,6 +81,10 @@ spec:
- name: chain2mnenomic
readOnly: true
mountPath: /etc/mnemonic
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
containers:
- name: relayer
image: "{{.Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion}}"
Expand Down

0 comments on commit 17a23ba

Please sign in to comment.