Skip to content

Commit 871a0ee

Browse files
committed
Add default container annotation
Add the kubectl default container annotation to the operator deployment, per the upgrade instructions for v1.16.0. See https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.16.0/#add-annotation-to-specify-the-default-container
1 parent fdb4c1a commit 871a0ee

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bundle/manifests/shipwright-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ spec:
540540
strategy: {}
541541
template:
542542
metadata:
543+
annotations:
544+
kubectl.kubernetes.io/default-container: operator
543545
labels:
544546
app: shipwright-operator
545547
spec:

config/manager/manager.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ spec:
1919
replicas: 1
2020
template:
2121
metadata:
22+
annotations:
23+
kubectl.kubernetes.io/default-container: operator
2224
labels:
2325
app: shipwright-operator
2426
spec:

0 commit comments

Comments
 (0)