updated template config

This commit is contained in:
Sebastian Wendel 2022-06-27 00:45:19 +02:00
parent 5c0db3bdcd
commit 8ebcc96c29
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
9 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: ConfigMap
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:

View file

@ -1,3 +1,4 @@
---
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler

View file

@ -7,6 +7,7 @@
{{- end }}
{{- end }}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
---
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1

View file

@ -1,4 +1,5 @@
{{- if and (not .Values.postgresql.enabled) (not .Values.externalDatabase.existingSecret) }}
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Secret
metadata:

View file

@ -1,3 +1,5 @@
---
apiVersion: v1
kind: Service
metadata:

View file

@ -1,4 +1,5 @@
{{- if .Values.serviceAccount.create -}}
---
apiVersion: v1
kind: ServiceAccount
metadata:

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Pod
metadata: