ttrss-helm/99-rssbridge-deployment.yaml

55 lines
1.6 KiB
YAML
Raw Normal View History

2023-06-13 16:38:37 -04:00
#---
#apiVersion: apps/v1
#kind: Deployment
#metadata:
# # TODO: add rssbridge
# name: {{ include "common.names.fullname" . }}
# labels:
# {{- include "common.labels" . | nindent 4 }}
# {{- with .Values.controller.labels }}
# {{- toYaml . | nindent 4 }}
# {{- end }}
# {{- with .Values.controller.annotations }}
# annotations:
# {{- toYaml . | nindent 4 }}
# {{- end }}
#spec:
# revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
# replicas: {{ .Values.controller.replicas }}
# {{- $strategy := default "Recreate" .Values.controller.strategy }}
# {{- if and (ne $strategy "Recreate") (ne $strategy "RollingUpdate") }}
# {{- fail (printf "Not a valid strategy type for Deployment (%s)" $strategy) }}
# {{- end }}
# strategy:
# type: {{ $strategy }}
# {{- with .Values.controller.rollingUpdate }}
# {{- if and (eq $strategy "RollingUpdate") (or .surge .unavailable) }}
# rollingUpdate:
# {{- with .unavailable }}
# maxUnavailable: {{ . }}
# {{- end }}
# {{- with .surge }}
# maxSurge: {{ . }}
# {{- end }}
# {{- end }}
# {{- end }}
# selector:
# matchLabels:
# # TODO: add rssbridge
# {{- include "common.labels.selectorLabels" . | nindent 6 }}
# template:
# metadata:
# {{- with .Values.podAnnotations }}
# annotations:
# {{- toYaml . | nindent 8 }}
# {{- end }}
# labels:
# # TODO: add rssbridge
# {{- include "common.labels.selectorLabels" . | nindent 8 }}
# {{- with .Values.podLabels }}
# {{- toYaml . | nindent 8 }}
# {{- end }}
# spec:
# # TODO: add rssbridge
#