How to get Operator in https on OpenShift - cniackz/public GitHub Wiki
How to get Operator in https on OpenShift:
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: minio-operator
app.kubernetes.io/name: operator
name: console
name: console-nodeport
namespace: minio-operator
spec:
ports:
- nodePort: 31167
port: 9443
protocol: TCP
targetPort: http
name: http
selector:
app: console
sessionAffinity: None
type: NodePort
$ oc get route pravensecure -n minio-operator -o yaml | oc neat
apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
openshift.io/host.generated: "true"
labels:
app.kubernetes.io/instance: minio-operator
app.kubernetes.io/name: operator
name: console
name: pravensecure
namespace: minio-operator
spec:
host: pravensecure-minio-operator.apps-crc.testing
port:
targetPort: http
tls:
termination: edge
to:
kind: Service
name: console-nodeport
weight: 100
wildcardPolicy: None
![Screenshot 2023-09-14 at 5 12 03 AM](https://github.com/cniackz/public/assets/6667358/702ede06-961c-42d7-b97e-57784bbbd53d)