Skip to content

Commit 528d66c

Browse files
Satyam Bhardwajgabemontero
authored andcommitted
allow ingress annotation overwrite
- re-running the dev_setup.sh script results into an error: ``` error: --overwrite is false but found the following declared annotation(s): 'ingress.operator.openshift.io/default-enable-http2' already has a value (true) ``` Signed-off-by: Satyam Bhardwaj <[email protected]>
1 parent a806b15 commit 528d66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

developer/openshift/dev_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ cluster_setup() {
158158

159159
# By default HTTP2 is not enabled in test openshift clusters
160160
echo "- Enabling HTTP2 for ingress" | indent 2
161-
oc annotate ingresses.config/cluster ingress.operator.openshift.io/default-enable-http2=true | indent 6
161+
oc annotate ingresses.config/cluster ingress.operator.openshift.io/default-enable-http2=true --overwrite=true| indent 6
162162
}
163163

164164
install_openshift_gitops() {

0 commit comments

Comments
 (0)