Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
keycloak-proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
keycloak-proxy
Commits
3c739162
Unverified
Commit
3c739162
authored
Jul 12, 2018
by
Rohith Jayawardene
Committed by
GitHub
Jul 12, 2018
Browse files
Options
Downloads
Plain Diff
Merge pull request #396 from gambol99/kube_deployment
Kube Deployment Example
parents
27da577e
7da303d7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
kube/reverse.yml
+39
-18
39 additions, 18 deletions
kube/reverse.yml
with
39 additions
and
18 deletions
kube/reverse.yml
+
39
−
18
View file @
3c739162
...
...
@@ -11,23 +11,44 @@ spec:
annotations
:
repository
:
https://github.com/gambol99/keycloak-proxy
spec
:
securityContext
:
fsGroup
:
1000
runAsNonRoot
:
true
runAsUser
:
1000
volumes
:
-
name
:
certs
secret
:
secretName
:
tls
containers
:
-
name
:
proxy
image
:
quay.io/gambol99/keycloak-proxy:latest
imagePullPolicy
:
Always
args
:
-
--config=/etc/secrets/config.yml
-
--discovery-url=https://sso.example.com/auth/realms/hod-test
-
--client-id=broker
-
--client-secret=secret
-
--listen=127.0.0.1:3000
-
--enable-logging=true
-
--discovery-url=https://sso.example.com/auth/realms/hod-test
-
--enable-default-deny=false
-
--enable-json-logging=true
-
--enable-logging=true
-
--enable-request-id=true
-
--enable-security-filter=true
-
--http-only-cookie=true
-
--listen=127.0.0.1:3000
-
--preserve-host=true
-
--redirection-url=https://www.example.com
-
--resources=uri=/admin/*|roles=admin
-
--skip-client-id=true
-
--tls-cert=/certs/tls.pem
-
--tls-private-key=/certs/tls-key.pem
-
--upstream-url=http://127.0.0.1:8080
env
:
-
name
:
PROXY_CLIENT_SECRET
valueFrom
:
secretKeyRef
:
name
:
openid
key
:
client.secret
securityContext
:
readOnlyRootFilesystem
:
true
volumeMounts
:
-
name
:
secrets
mountPath
:
/etc/secrets
volumes
:
-
name
:
secrets
secret
:
secretName
:
config
-
name
:
certs
mountPath
:
/certs
readOnly
:
true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment