You've already forked helm-gitea
The following pull request removes the `gitea` directory. With regard to maintaining act_runners in a separate git repository or helm chart, this additional directory becomes redundant. Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/958 Reviewed-by: DaanSelen <daanselen@noreply.gitea.com> Co-authored-by: Markus Pesch <markus.pesch@cryptic.systems> Co-committed-by: Markus Pesch <markus.pesch@cryptic.systems>
18 lines
524 B
YAML
18 lines
524 B
YAML
{{- if .Values.podDisruptionBudget -}}
|
|
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
|
|
apiVersion: policy/v1
|
|
{{- else }}
|
|
apiVersion: policy/v1beta1
|
|
{{- end }}
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ include "gitea.fullname" . }}
|
|
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
|
labels:
|
|
{{- include "gitea.labels" . | nindent 4 }}
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
{{- include "gitea.selectorLabels" . | nindent 6 }}
|
|
{{- toYaml .Values.podDisruptionBudget | nindent 2 }}
|
|
{{- end -}} |