Skip to content

Commit 234f0b4

Browse files
mprahlopenshift-merge-robot
authored andcommitted
Fix an issue when deploying the Config Policy controller on OCP 3.11
The `service.beta.openshift.io/serving-cert-secret-name` isn't supported on OpenShift 3.11 and so `service.alpha.openshift.io/serving-cert-secret-name` must also be included. Relates: stolostron/backlog#24674 Signed-off-by: mprahl <[email protected]>
1 parent d257068 commit 234f0b4

File tree

1 file changed

+2
-0
lines changed
  • pkg/addon/configpolicy/manifests/managedclusterchart/templates

1 file changed

+2
-0
lines changed

pkg/addon/configpolicy/manifests/managedclusterchart/templates/service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ metadata:
1414
addon.open-cluster-management.io/hosted-manifest-location: hosting
1515
annotations:
1616
{{- if eq .Values.kubernetesDistribution "OpenShift" }}
17+
# The alpha annotation is required for OpenShift 3.11
18+
service.alpha.openshift.io/serving-cert-secret-name: {{ include "controller.fullname" . }}-metrics
1719
service.beta.openshift.io/serving-cert-secret-name: {{ include "controller.fullname" . }}-metrics
1820
{{- end }}
1921
spec:

0 commit comments

Comments
 (0)