Skip to content

Commit

Permalink
helm fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-edouard.breteche committed Apr 20, 2020
1 parent 16e9096 commit 6a67df2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ update_chart_yamls() {

sed -i "s/version.*/version: ${version}/" helm/botkube/Chart.yaml
sed -i "s/appVersion.*/appVersion: ${version}/" helm/botkube/Chart.yaml
sed -i "s/appVersion.*/appVersion: ${version}/" helm/botkube/Chart.yaml
sed -i "s/\btag:.*/tag: ${version}/" helm/botkube/values.yaml
sed -i "s/\bpullPolicy:.*/pullPolicy: IfNotPresent/" helm/botkube/values.yaml
sed -i "s/\bimage: \"infracloudio\/botkube.*\b/image: \"infracloudio\/botkube:${version}/g" deploy-all-in-one.yaml
sed -i "s/\bimage: \"infracloudio\/botkube.*\b/image: \"infracloudio\/botkube:${version}/g" deploy-all-in-one-tls.yaml

Expand Down
5 changes: 4 additions & 1 deletion helm/botkube/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,7 @@ spec:
runAsUser: {{ .Values.securityContext.runAsUser }}
runAsGroup: {{ .Values.securityContext.runAsGroup }}
{{ end }}

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
4 changes: 2 additions & 2 deletions helm/botkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ replicaCount: 1

image:
repository: infracloudio/botkube
pullPolicy: Always
pullPolicy: IfNotPresent
## default tag is appVersion from Chart.yaml. If you want to use
## some other tag then it can be specified here
tag: latest
tag: v0.9.1

nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit 6a67df2

Please sign in to comment.