Skip to content

Commit

Permalink
fix apiVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
qemanuel committed Nov 15, 2023
1 parent a627c81 commit 29bc6cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/base-app/templates/configmaps.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.configmaps }}
{{- range $cm := .Values.configmaps }}
---
apiVersion: core/v1
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $cm.name }}
Expand Down
2 changes: 1 addition & 1 deletion charts/base-app/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.secrets }}
{{- range $secret := .Values.secrets }}
---
apiVersion: core/v1
apiVersion: v1
kind: Secret
metadata:
name: {{ $secret.name }}
Expand Down
2 changes: 1 addition & 1 deletion charts/base-app/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.service.enabled }}
apiVersion: core/v1
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
Expand Down
5 changes: 2 additions & 3 deletions charts/base-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ deployment:
# maxSurge: 26%
# maxUnavailable: 26%
# revisionHistoryLimit: 11
replicas: 2
replicas: 1

pod:
# labels:
# podFoo: podFoo
# podFoo2: podFoo2
# annotations:
# podAnnFoo: podAnnFoo
# podAnnFoo2: podAnnFoo2

# podAnnFoo2: podAnnFoo2
# nodeSelector:
# selectorFoo: selectorBar
# tolerations:
Expand Down

0 comments on commit 29bc6cb

Please sign in to comment.