In my Kubernetes Service
, running on OpenShift, I have an annotation like this:
annotations:
service.beta.openshift.io/serving-cert-secret-name: "..."
which works fine on OpenShift 4.x.
However I also want to support OpenShift 3.11, which requires the similar annotation (note alpha):
service.alpha.openshift.io/serving-cert-secret-name: "..."
Can I just include both annotations in my yaml file in order to support both versions? In other words will OpenShift 4.x ignore the alpha
annotation; and will OpenShift 3.11 ignore the beta
annotation?