-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add pod-disruption-budget support
- Loading branch information
1 parent
8e5bb96
commit 27fb45f
Showing
9 changed files
with
98 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
--- | ||
apiVersion: v2 | ||
name: unleash-edge | ||
description: A Helm chart for deploying Unleash Edge to kubernetes | ||
icon: https://docs.getunleash.io/img/logo.svg | ||
|
||
type: application | ||
version: 2.5.0 | ||
|
||
version: 2.6.0 | ||
|
||
appVersion: "v19.0.0" | ||
|
||
maintainers: | ||
- name: chriswk | ||
- name: sighphyre | ||
- name: nunogois | ||
- name: gastonfournier | ||
|
||
sources: | ||
- https://github.com/Unleash/unleash-edge | ||
- https://github.com/Unleash/helm-charts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if .Values.podDisruptionBudget.enabled }} | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: {{ template "unleash-edge.fullname" . }} | ||
labels: | ||
{{- include "unleash-edge.labels" . | nindent 4 }} | ||
spec: | ||
{{- if .Values.podDisruptionBudget.minAvailable }} | ||
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} | ||
{{- else if .Values.podDisruptionBudget.maxUnavailable }} | ||
maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} | ||
{{- else }} | ||
minAvailable: 0 | ||
{{- end }} | ||
selector: | ||
matchLabels: | ||
{{- include "unleash-edge.selectorLabels" . | nindent 6 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if .Values.podDisruptionBudget.enabled }} | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: {{ template "unleash-proxy.fullname" . }} | ||
labels: | ||
{{- include "unleash-proxy.labels" . | nindent 4 }} | ||
spec: | ||
{{- if .Values.podDisruptionBudget.minAvailable }} | ||
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} | ||
{{- else if .Values.podDisruptionBudget.maxUnavailable }} | ||
maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} | ||
{{- else }} | ||
minAvailable: 0 | ||
{{- end }} | ||
selector: | ||
matchLabels: | ||
{{- include "unleash-proxy.selectorLabels" . | nindent 6 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
apiVersion: v2 | ||
name: unleash | ||
description: Unleash is a open source feature flag & toggle system, that gives you a great overview over all feature toggles across all your applications and services. | ||
icon: https://docs.getunleash.io/img/logo.svg | ||
|
||
type: application | ||
|
||
version: 4.1.0 | ||
appVersion: "5.9.6" | ||
|
||
dependencies: | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 12.1.6 | ||
condition: postgresql.enabled | ||
description: Unleash is a open source feature flag & toggle system, that gives you a great overview over all feature toggles across all your applications and services. | ||
|
||
maintainers: | ||
- name: evanstucker-hates-2fa | ||
- name: ivarconr | ||
email: [email protected] | ||
name: unleash | ||
|
||
sources: | ||
- https://github.com/Unleash/unleash | ||
- https://github.com/Unleash/helm-charts | ||
type: application | ||
version: 4.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if .Values.podDisruptionBudget.enabled }} | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: {{ template "unleash.fullname" . }} | ||
labels: | ||
{{- include "unleash.labels" . | nindent 4 }} | ||
spec: | ||
{{- if .Values.podDisruptionBudget.minAvailable }} | ||
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} | ||
{{- else if .Values.podDisruptionBudget.maxUnavailable }} | ||
maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} | ||
{{- else }} | ||
minAvailable: 0 | ||
{{- end }} | ||
selector: | ||
matchLabels: | ||
{{- include "unleash.selectorLabels" . | nindent 6 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters