Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
- Loading branch information
Showing
15 changed files
with
152 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
charts/authentik-remote-cluster/templates/cluster-role-binding.yaml
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
...emote-cluster/templates/cluster-role.yaml → ...remote-cluster/templates/clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
charts/authentik-remote-cluster/templates/clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{{- if .Values.clusterRole.enabled -}} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ printf "%s-%s" (include "authentik-remote-cluster.fullname" .) .Release.Namespace | quote }} | ||
labels: | ||
{{- include "authentik-remote-cluster.labels" (dict "context" .) | nindent 4 }} | ||
{{- with .Values.annotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ printf "%s-%s" (include "authentik-remote-cluster.fullname" .) .Release.Namespace | quote }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "authentik-remote-cluster.fullname" . }} | ||
namespace: {{ .Release.Namespace | quote }} | ||
{{- end }} |
20 changes: 0 additions & 20 deletions
20
charts/authentik-remote-cluster/templates/role-binding.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
charts/authentik-remote-cluster/templates/rolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: {{ template "authentik-remote-cluster.fullname" . }} | ||
namespace: {{ .Release.Namespace | quote }} | ||
labels: | ||
{{- include "authentik-remote-cluster.labels" (dict "context" .) | nindent 4 }} | ||
{{- with .Values.annotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: {{ template "authentik-remote-cluster.fullname" . }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "authentik-remote-cluster.fullname" . }} | ||
namespace: {{ .Release.Namespace | quote }} |
16 changes: 0 additions & 16 deletions
16
charts/authentik-remote-cluster/templates/service-account-secret.yaml
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
charts/authentik-remote-cluster/templates/service-account.yaml
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
charts/authentik-remote-cluster/templates/serviceaccount-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{- if .Values.serviceAccountSecret.enabled -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ template "authentik-remote-cluster.fullname" . }} | ||
namespace: {{ .Release.Namespace | quote }} | ||
labels: | ||
{{- include "authentik-remote-cluster.labels" (dict "context" .) | nindent 4 }} | ||
annotations: | ||
kubernetes.io/service-account.name: {{ template "authentik-remote-cluster.fullname" . }} | ||
{{- with .Values.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
type: kubernetes.io/service-account-token | ||
{{- end }} |
11 changes: 11 additions & 0 deletions
11
charts/authentik-remote-cluster/templates/serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ template "authentik-remote-cluster.fullname" . }} | ||
namespace: {{ .Release.Namespace | quote }} | ||
labels: | ||
{{- include "authentik-remote-cluster.labels" (dict "context" .) | nindent 4 }} | ||
{{- with .Values.annotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,28 @@ | ||
--- | ||
# -- Provide a name in place of `authentik`. Prefer using global.nameOverride if possible | ||
nameOverride: "" | ||
# -- String to fully override `"authentik.fullname"`. Prefer using global.fullnameOverride if possible | ||
fullnameOverride: "" | ||
# -- Override the Kubernetes version, which is used to evaluate certain manifests | ||
kubeVersionOverride: "" | ||
|
||
## Globally shared configuration for authentik components. | ||
global: | ||
# -- Provide a name in place of `authentik` | ||
nameOverride: "" | ||
# -- String to fully override `"authentik.fullname"` | ||
fullnameOverride: "" | ||
# -- Common labels for all resources. | ||
additionalLabels: {} | ||
# app: authentik | ||
|
||
# -- Annotations to apply to all resources | ||
annotations: {} | ||
|
||
serviceAccountSecret: | ||
# -- Create a secret with the service account credentials | ||
enabled: true | ||
|
||
clusterRole: | ||
# -- Create a clusterole in addition to a namespaced role. | ||
enabled: true |