Skip to content

Commit

Permalink
more ci tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
colearendt committed May 12, 2022
1 parent c45e3c7 commit 56bc0a4
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 13 deletions.
14 changes: 4 additions & 10 deletions charts/generic/ci/all-values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
replicaCount: 1

image:
repository: ubuntu
repository: nginx
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand All @@ -23,11 +23,8 @@ pod:
securityContext: {}
# fsGroup: 2000

command:
- "sh"
- "-c"
args:
- "'echo hi'"
command: []
args: []

serviceAccount:
# -- Specifies whether a service account should be created
Expand Down Expand Up @@ -104,10 +101,7 @@ extraObjects:
something: {{ printf "special" }}
readinessProbe: null
livenessProbe:
httpGet:
path: /
port: http
livenessProbe: null
startupProbe:
httpGet:
path: /
Expand Down
2 changes: 2 additions & 0 deletions charts/postgrest/ci/complex-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ ingress:
hosts:
- host: chart-example.local
paths: [/]
postgrest:
dbAnonRole: someRole
extraObjects:
- apiVersion: v1
kind: ConfigMap
Expand Down
2 changes: 2 additions & 0 deletions charts/postgrest/ci/empty-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
postgrest:
dbAnonRole: someRole
1 change: 1 addition & 0 deletions charts/postgrest/ci/simple-values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
postgrest:
dbUri: some-secret
jwtSecret: another-secret
dbAnonRole: someRole
pod:
env:
- name: TEST
Expand Down
12 changes: 9 additions & 3 deletions charts/postgrest/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,18 @@ spec:
- name: http
containerPort: {{ .Values.pod.containerPort }}
protocol: TCP
{{- with .Values.pod.readinessProbe }}
readinessProbe:
{{- toYaml .Values.pod.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.pod.livenessProbe }}
livenessProbe:
{{- toYaml .Values.pod.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.pod.startupProbe }}
startupProbe:
{{- toYaml .Values.pod.startupProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
5 changes: 5 additions & 0 deletions charts/traefik-forward-auth/ci/empty-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config:
secret: something-secret
providers.oidc.issuer-url: https://demo.okta.com
providers.oidc.client-id: auth
providers.oidc.client-secret: super-secret
5 changes: 5 additions & 0 deletions charts/traefik-forward-auth/ci/simple-values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
ingress:
enabled: true
config:
secret: secrety-secret
providers.oidc.issuer-url: https://demo.okta.com
providers.oidc.client-id: auth
providers.oidc.client-secret: super-secret

0 comments on commit 56bc0a4

Please sign in to comment.