Skip to content

Commit

Permalink
fix: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed Apr 18, 2023
1 parent 2b9d492 commit 122c5c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 4 additions & 2 deletions charts/authentik/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}

{{- if eq $component "server" }}
ports:
- name: http
containerPort: 9000
Expand All @@ -127,7 +128,6 @@ spec:
- name: https
containerPort: 9443
protocol: TCP

{{- with $.Values.livenessProbe }}
{{- if .enabled }}
livenessProbe:
Expand All @@ -139,7 +139,9 @@ spec:
readinessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}{{/* end server */}}

{{- with (get $.Values.resources $component) }}
resources:
{{- toYaml . | nindent 12 }}
Expand Down
7 changes: 1 addition & 6 deletions charts/authentik/templates/service-account.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{{- if .Values.serviceAccount.create }}

{{ include "common.serviceAccount" . }}

{{- if .Values.sidecar.blueprints.enabled }}
{{- if and .Values.serviceAccount.create .Values.sidecar.blueprints.enabled }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -25,5 +21,4 @@ subjects:
- kind: ServiceAccount
name: {{ include "common.names.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}

0 comments on commit 122c5c1

Please sign in to comment.