k8s1.22部署gitlab对接keycloak
添加 gitlab repo, 下载 chart 包
helm repo add gitlab https://charts.gitlab.io/
helm repo update
helm pull gitlab/gitlab查看 values.yaml 及依赖的 requirements.yaml相关参数
keycloak 添加 giltab client
添加gitab 对接keycloak 使用 secret
name: openid_connect
label: keycloak
args:
name: "openid_connect"
scope: ["openid","profile",]
response_type: "code"
issuer: "https://sso.example.com/auth/realms/oc"
client_auth_method: "query"
uid_field: "preferred_username"
send_scope_to_token_endpoint: false
discovery: true
client_options:
identifier: "gitlab-92250"
secret: "<凭证>"
redirect_uri: "https://gitlab-apps92250.example.com/users/auth/openid_connect/callback"创建外部redis secret
创建 values.yaml
执行安装gitlab
参考
Last updated