Skip to content

Instantly share code, notes, and snippets.

@waynedovey
Created February 19, 2023 22:11
Show Gist options
  • Save waynedovey/61293c846dd65c40c426b5eda6616dd5 to your computer and use it in GitHub Desktop.
Save waynedovey/61293c846dd65c40c426b5eda6616dd5 to your computer and use it in GitHub Desktop.
oauth-htpasswd.yaml
apiVersion: config.openshift.io/v1
kind: OAuth
metadata:
name: cluster
spec:
identityProviders:
- name: my_htpasswd_provider
mappingMethod: claim
type: HTPasswd
htpasswd:
fileData:
name: htpass-secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment