You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/content/en/docs/upgrading-sdk-version/v1.6.0.md
+20-17Lines changed: 20 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,24 +122,26 @@ _See [#4655](https://github.com/operator-framework/operator-sdk/pull/4655) for m
122
122
OLM does [not yet support cert-manager](https://olm.operatorframework.io/docs/advanced-tasks/adding-admission-and-conversion-webhooks/#certificate-authority-requirements), so a JSON patch was added to remove this volume and mount such that OLM can itself create and manage certs for your Operator.
123
123
In `config/manifests/kustomization.yaml`, add the following:
124
124
```yaml
125
-
patchesJson6902:
126
-
- target:
127
-
group: apps
128
-
version: v1
129
-
kind: Deployment
130
-
name: controller-manager
131
-
namespace: system
132
-
patch: |-
133
-
# Remove the manager container's "cert" volumeMount, since OLM will create and mount a set of certs.
134
-
# Update the indices in this path if adding or removing containers/volumeMounts in the manager's Deployment.
# # Remove the "cert" volume, since OLM will create and mount a set of certs.
138
+
# # Update the indices in this path if adding or removing volumes in the manager's Deployment.
139
+
# - op: remove
140
+
# path: /spec/template/spec/volumes/0
141
141
```
142
142
143
+
If you have configured your operator to use webhooks, add this YAML block uncommented.
144
+
143
145
_See [#4623](https://github.com/operator-framework/operator-sdk/pull/4623) for more details._
144
146
145
147
## (go/v2, go/v3, ansible/v1, helm/v1) Add scheme, token, and TLS config to the Prometheus `ServiceMonitor` metrics endpoint.
@@ -217,7 +219,8 @@ _See [#4406](https://github.com/operator-framework/operator-sdk/pull/4406) for m
217
219
218
220
## (ansible/v1, helm/v1) Add the `controller-manager` ServiceAccount to your project.
219
221
220
-
A non-default ServiceAccount `controller-manager` is scaffolded on `operator-sdk init`, to improve security for operators installed in shared namespaces. To add this ServiceAccount to your project, do the following: ```sh
222
+
A non-default ServiceAccount `controller-manager` is scaffolded on `operator-sdk init`, to improve security for operators installed in shared namespaces. To add this ServiceAccount to your project, do the following:
Copy file name to clipboardExpand all lines: website/content/en/docs/upgrading-sdk-version/v1.6.1.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,24 +122,26 @@ _See [#4655](https://github.com/operator-framework/operator-sdk/pull/4655) for m
122
122
OLM does [not yet support cert-manager](https://olm.operatorframework.io/docs/advanced-tasks/adding-admission-and-conversion-webhooks/#certificate-authority-requirements), so a JSON patch was added to remove this volume and mount such that OLM can itself create and manage certs for your Operator.
123
123
In `config/manifests/kustomization.yaml`, add the following:
124
124
```yaml
125
-
patchesJson6902:
126
-
- target:
127
-
group: apps
128
-
version: v1
129
-
kind: Deployment
130
-
name: controller-manager
131
-
namespace: system
132
-
patch: |-
133
-
# Remove the manager container's "cert" volumeMount, since OLM will create and mount a set of certs.
134
-
# Update the indices in this path if adding or removing containers/volumeMounts in the manager's Deployment.
# # Remove the "cert" volume, since OLM will create and mount a set of certs.
138
+
# # Update the indices in this path if adding or removing volumes in the manager's Deployment.
139
+
# - op: remove
140
+
# path: /spec/template/spec/volumes/0
141
141
```
142
142
143
+
If you have configured your operator to use webhooks, add this YAML block uncommented.
144
+
143
145
_See [#4623](https://github.com/operator-framework/operator-sdk/pull/4623) for more details._
144
146
145
147
## (go/v2, go/v3, ansible/v1, helm/v1) Add scheme, token, and TLS config to the Prometheus `ServiceMonitor` metrics endpoint.
@@ -217,7 +219,8 @@ _See [#4406](https://github.com/operator-framework/operator-sdk/pull/4406) for m
217
219
218
220
## (ansible/v1, helm/v1) Add the `controller-manager` ServiceAccount to your project.
219
221
220
-
A non-default ServiceAccount `controller-manager` is scaffolded on `operator-sdk init`, to improve security for operators installed in shared namespaces. To add this ServiceAccount to your project, do the following: ```sh
222
+
A non-default ServiceAccount `controller-manager` is scaffolded on `operator-sdk init`, to improve security for operators installed in shared namespaces. To add this ServiceAccount to your project, do the following:
0 commit comments