Skip to content

Commit

Permalink
Update repo build
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolay.akulov committed Nov 29, 2024
1 parent 6656777 commit d0a1cfe
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/linkerd-easyauth/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "0.13.5"
description: A Helm chart for Linkerd easyauth extension
name: linkerd-easyauth
version: "0.13.5"
version: "0.2.0"
28 changes: 28 additions & 0 deletions charts/linkerd-easyauth/templates/pdb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{{- if .Values.pdb.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: easyauth
namespace: {{.Values.namespace}}
labels:
linkerd.io/extension: easyauth
component: easyauth-injector
{{- with .Values.pdb.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.pdb.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
{{- with .Values.pdb.maxUnavailable }}
maxUnavailable: {{ . }}
{{- else }}
minAvailable: {{ .Values.pdb.minAvailable | default 0 }}
{{- end }}
selector:
matchLabels:
component: easyauth-injector
{{- end }}
7 changes: 7 additions & 0 deletions charts/linkerd-easyauth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,10 @@ policies:
# low2: 0
# high2: 256
# octet3: 1

pdb:
enabled: true
labels: {}
annotations: {}
minAvailable: "1"
maxUnavailable: ""

0 comments on commit d0a1cfe

Please sign in to comment.