-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dbildungs-iam-keycloak-gha
committed
Dec 16, 2024
1 parent
0654836
commit ae69530
Showing
10 changed files
with
299 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: v2 | ||
appVersion: testbranch-1234-1234 | ||
appVersion: SPSH-1648 | ||
description: A Helm Chart for the dbildungs-iam-keycloak | ||
name: dbildungs-iam-keycloak | ||
type: application | ||
version: 0.0.0-testbranch-1234-1234-20241216-1520 | ||
version: 0.0.0-spsh-1648-20241216-1808 |
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
29 changes: 29 additions & 0 deletions
29
automation/dbildungs-iam-keycloak/templates/ingress2nd.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,29 @@ | ||
{{if .Values.ingress.enabled2nd }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ template "common.names.name" . }}-2nd | ||
namespace: {{ template "common.names.namespace" . }} | ||
labels: | ||
{{- include "common.labels" . | nindent 4 }} | ||
{{- with .Values.ingress.annotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
tls: | ||
- hosts: | ||
- {{ .Values.keycloak2ndHostname }} | ||
ingressClassName: {{ .Values.ingress.ingressClassName }} | ||
rules: | ||
- host: {{ .Values.keycloak2ndHostname }} | ||
http: | ||
paths: | ||
- path: {{ .Values.ingress.path }} | ||
pathType: {{ .Values.ingress.pathType }} | ||
backend: | ||
service: | ||
name: {{ template "common.names.name" . }} | ||
port: | ||
number: {{ .Values.service.ports.http }} | ||
{{- end }} |
21 changes: 21 additions & 0 deletions
21
automation/dbildungs-iam-keycloak/templates/keycloak-servicemonitor.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,21 @@ | ||
{{- if .Values.keycloak.serviceMonitor.enabled }} | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: {{ template "common.names.name" . }} | ||
namespace: {{ template "common.names.namespace" . }} | ||
labels: | ||
{{- include "common.labels" . | nindent 4 }} | ||
app.kubernetes.io/component: keycloak | ||
spec: | ||
namespaceSelector: | ||
matchNames: | ||
- {{ include "common.names.namespace" . | quote }} | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: {{ template "common.names.name" . }} | ||
endpoints: | ||
- port: {{ .Values.keycloak.serviceMonitor.port }} | ||
path: {{ .Values.keycloak.serviceMonitor.path }} | ||
interval: {{ .Values.keycloak.serviceMonitor.interval | default "30s" }} | ||
{{- 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{- if .Values.podDisruptionBudget.enabled }} | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: {{ template "common.names.name" . }}-pdb | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: {{ include "common.names.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
spec: | ||
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: dbildungs-iam-keycloak | ||
{{- 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
Oops, something went wrong.