Skip to content

Commit

Permalink
Fix config checksum (#76)
Browse files Browse the repository at this point in the history
* fix config checksum

* version bump up

* fix worker check
  • Loading branch information
valeriano-manassero authored Jul 5, 2021
1 parent d4eef31 commit 6d55ed8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion valeriano-manassero/trino/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "358"
description: High performance, distributed SQL query engine for big data
name: trino
version: 1.2.1
version: 1.2.2
home: https://trino.io
icon: https://trino.io/assets/images/trino-logo/trino-ko_tiny-alt.svg
sources:
Expand Down
2 changes: 1 addition & 1 deletion valeriano-manassero/trino/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trino

![Version: 1.2.1](https://img.shields.io/badge/Version-1.2.1-informational?style=flat-square) ![AppVersion: 358](https://img.shields.io/badge/AppVersion-358-informational?style=flat-square)
![Version: 1.2.2](https://img.shields.io/badge/Version-1.2.2-informational?style=flat-square) ![AppVersion: 358](https://img.shields.io/badge/AppVersion-358-informational?style=flat-square)

High performance, distributed SQL query engine for big data

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
{{- include "trino.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: coordinator
annotations:
checksum/config: {{ printf "%s%s" .Values.server .Values.connectors .Values.connectorsSecret | sha256sum }}
checksum/config: {{ printf "%s%s" (include (print $.Template.BasePath "/configmap-coordinator.yaml") .) (include (print $.Template.BasePath "/secret.yaml") .) | sha256sum }}
spec:
{{- with .Values.image.securityContext }}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion valeriano-manassero/trino/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
{{- include "trino.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: worker
annotations:
checksum/config: {{ printf "%s%s" .Values.server .Values.connectors .Values.connectorsSecret | sha256sum }}
checksum/config: {{ printf "%s%s" (include (print $.Template.BasePath "/configmap-worker.yaml") .) (include (print $.Template.BasePath "/secret.yaml") .) | sha256sum }}
spec:
volumes:
- name: config-volume
Expand Down

0 comments on commit 6d55ed8

Please sign in to comment.