You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

522 B

Workshop Users

helm template auth . --set masterKey=RivieraDev2024 | oc apply -f -

Get the name of the generated secret:

oc get secret -n openshift-config |grep ^htpasswd

Update oauth/cluster with:

apiVersion: config.openshift.io/v1
kind: OAuth
metadata:
  name: cluster
  annotations:
    argocd.argoproj.io/sync-options: Prune=false
spec:
  identityProviders:
  - htpasswd:
      fileData:
        name: htpasswd-
    mappingMethod: claim
    name: WorkshopUser
    type: HTPasswd