Skip to content

Commit

Permalink
Using service.beta.openshift.io as recommended method (#1567)
Browse files Browse the repository at this point in the history
the newer service.beta.openshift.io annotation which is the current recommended method.
  • Loading branch information
cniackz committed Apr 17, 2023
1 parent aa9aedd commit 4e436e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/base/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
app.kubernetes.io/name: operator
namespace: minio-operator
annotations:
service.alpha.openshift.io/serving-cert-secret-name: operator-tls # To solve "remote error: tls: bad certificate" OpenShift v3
service.beta.openshift.io/serving-cert-secret-name: operator-tls # To solve "remote error: tls: bad certificate" OpenShift v4
spec:
type: ClusterIP
Expand All @@ -27,7 +26,7 @@ metadata:
name: minio-operator
namespace: minio-operator
annotations:
service.alpha.openshift.io/serving-cert-secret-name: operator-tls # To solve "remote error: tls: bad certificate"
service.beta.openshift.io/serving-cert-secret-name: operator-tls # To solve "remote error: tls: bad certificate"
spec:
type: ClusterIP
ports:
Expand Down

0 comments on commit 4e436e5

Please sign in to comment.