-
Notifications
You must be signed in to change notification settings - Fork 0
How to get Operator in https on OpenShift
Cesar Celis Hernandez edited this page Sep 14, 2023
·
1 revision
- Service
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
- route:
$ 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