prole/deploy/gcp/gke/gitlab-google-oidc-secret.example.yaml
chrisfu 0a799ca191 chore: refine post-remediation checks in init_gitlab.sh for GitLab workload convergence
- Introduced `gitlab_post_remediation_success` flag to streamline corrective action logging.
- Adjusted logic to skip unnecessary workload convergence gates when remediation is successful.
2026-04-18 15:48:36 -07:00

31 lines
906 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: gitlab-google-oidc
namespace: gitlab
labels:
app.kubernetes.io/managed-by: prole-installer
# GitLab OmniAuth provider config for OpenID Connect via knoe-auth.
# See: https://docs.gitlab.com/ee/administration/auth/oidc.html
# Applied by etc/init_gitlab.sh --mode k8s
stringData:
provider: |
name: ${GITLAB_OIDC_PROVIDER_NAME}
label: "Google Workspace"
icon: "https://www.google.com/favicon.ico"
args:
name: ${GITLAB_OIDC_PROVIDER_NAME}
scope:
- openid
- profile
- email
response_type: code
issuer: "${GITLAB_OIDC_ISSUER}"
client_auth_method: query
uid_field: email
send_scope_to_token_endpoint: false
client_options:
identifier: "${GITLAB_OIDC_CLIENT_ID}"
secret: "${GITLAB_OIDC_CLIENT_SECRET}"
redirect_uri: "${GITLAB_OIDC_REDIRECT_URI}"