Hi All,
I have a question reguarding openshift deployments and configuration. I am using terraform to configure openshift cluster, most of the configuration such as namespaces etc seem to work via the k8s provider and the openshift provider fills in the rest.
It would seem the openship provider is somewhat limited on what it can perform, and as a result it does not have some of the openshift 4 configuration for example:
apiVersion: config.openshift.io/v1
kind: OAuth
metadata:
name: cluster
spec:
identityProviders:
- name: htpasswd
mappingMethod: claim
type: HTPasswd
htpasswd:
fileData:
name: htpass-secret
I need to deploy this configuration to the cluster in order to enable htpasswd idendity, is there a best way to do this? It doesn’t look like either the openshift or k8s provider has this resource predefined.
Thanks for any input.