Skip to content

Commit

Permalink
Merge pull request #2 from bagaluten/feature/tainter
Browse files Browse the repository at this point in the history
Feature/tainter
  • Loading branch information
hmettendorf authored Mar 8, 2024
2 parents afbf0b3 + b0eab9a commit 1da917d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
4 changes: 2 additions & 2 deletions charts/tainter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: tainter
description: A Helm chart for the Kubernetes Node Tainter
type: application
version: 0.1.0
appVersion: "0.1.0"
version: "0.1.2"
appVersion: "0.1.2"
8 changes: 6 additions & 2 deletions charts/tainter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.livenessProbe }}
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.readinessProbe }}
readinessProbe:
{{- toYaml .Values.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
21 changes: 11 additions & 10 deletions charts/tainter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,18 @@ resources: {}
# cpu: 100m
# memory: 128Mi

livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
livenessProbe: {}
readinessProbe: {}

nodeSelector: {}
nodeSelector:
node-role.kubernetes.io/control-plane: ""

tolerations: []
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule

affinity: {}

0 comments on commit 1da917d

Please sign in to comment.