Skip to content

Instantly share code, notes, and snippets.

View sudonewdev's full-sized avatar
🎯
Focusing

jamil sudonewdev

🎯
Focusing
View GitHub Profile
@sudonewdev
sudonewdev / _helpers.tpl
Created February 9, 2022 01:08
only .Release.Name values is being printed even after else-if condition is met.
{{/*
podAntiAffinity definition
*/}}
{{- define "pods.anti.affinities" -}}
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/instance
operator: In