mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
[blocky] Add checksum annotation to force pod to restart on config change (#205)
* remove double ports Signed-off-by: Gavin Mogan <git@gavinmogan.com> * Add an annotation to force k8s to restart pod on config file changes Signed-off-by: Gavin Mogan <git@gavinmogan.com> * bump chart version Signed-off-by: Gavin Mogan <git@gavinmogan.com>
This commit is contained in:
parent
f3e99ffb70
commit
01f453d3d2
@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "v0.6"
|
||||
description: DNS proxy as ad-blocker for local network
|
||||
name: blocky
|
||||
version: 3.0.0
|
||||
version: 3.0.1
|
||||
keywords:
|
||||
- blocky
|
||||
- dbs
|
||||
|
@ -19,8 +19,9 @@ spec:
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "blocky.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
{{ toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@ -38,7 +39,6 @@ spec:
|
||||
mountPath: /app/config.yml
|
||||
subPath: config.yml
|
||||
readOnly: true
|
||||
ports:
|
||||
ports:
|
||||
- name: api
|
||||
containerPort: 4000
|
||||
|
Loading…
Reference in New Issue
Block a user