Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off Keycloak HTTP and make the Keycloak HTTPS only #182

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,29 @@ parameters:
annotations: ${keycloak:_service_annotations:${keycloak:tls:provider}}
httpPort: 8080
labels: ${keycloak:labels}
livenessProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/live'
port: https
scheme: HTTPS
initialDelaySeconds: 0
timeoutSeconds: 5
readinessProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/ready'
port: https
scheme: HTTPS
initialDelaySeconds: 10
timeoutSeconds: 1
startupProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health'
port: https
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 1
failureThreshold: 60
periodSeconds: 5
serviceMonitor:
enabled: ${keycloak:monitoring:enabled}
labels: ${keycloak:labels}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ spec:
livenessProbe:
httpGet:
path: /auth/health/live
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 0
timeoutSeconds: 5
name: keycloak
Expand All @@ -117,7 +118,8 @@ spec:
readinessProbe:
httpGet:
path: /auth/health/ready
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 10
timeoutSeconds: 1
resources:
Expand All @@ -134,7 +136,8 @@ spec:
failureThreshold: 60
httpGet:
path: /auth/health
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
livenessProbe:
httpGet:
path: /auth/health/live
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 0
timeoutSeconds: 5
name: keycloak
Expand All @@ -115,7 +116,8 @@ spec:
readinessProbe:
httpGet:
path: /auth/health/ready
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 10
timeoutSeconds: 1
resources:
Expand All @@ -132,7 +134,8 @@ spec:
failureThreshold: 60
httpGet:
path: /auth/health
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
livenessProbe:
httpGet:
path: /auth/health/live
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 0
timeoutSeconds: 5
name: keycloak
Expand All @@ -115,7 +116,8 @@ spec:
readinessProbe:
httpGet:
path: /auth/health/ready
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 10
timeoutSeconds: 1
resources:
Expand All @@ -132,7 +134,8 @@ spec:
failureThreshold: 60
httpGet:
path: /auth/health
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
livenessProbe:
httpGet:
path: /auth/health/live
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 0
timeoutSeconds: 5
name: keycloak
Expand All @@ -115,7 +116,8 @@ spec:
readinessProbe:
httpGet:
path: /auth/health/ready
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 10
timeoutSeconds: 1
resources:
Expand All @@ -130,7 +132,8 @@ spec:
failureThreshold: 60
httpGet:
path: /auth/health
port: http
port: https
scheme: HTTPS
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 1
Expand Down
Loading