-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove webhook mode from k8s-workload-registrar #3235
Remove webhook mode from k8s-workload-registrar #3235
Conversation
9a1d6cf
to
77a9c9d
Compare
This was deprecated in 1.3.0. Removing for 1.4.0. Signed-off-by: Andrew Harding <[email protected]>
77a9c9d
to
d58e3cc
Compare
`insecure_skip_client_verification` configurable) unless you fully understand | ||
the risks. | ||
|
||
#### Migrating away from the webhook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth keeping some info on migration for users that are still on the webhook mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sure. That's probably a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved it into a "troubleshooting" section on the CRD mode docs. Hope that spot makes sense.
@@ -31,19 +31,9 @@ The configuration file is a **required** by the registrar. It contains | |||
| `cluster` | string | required | Logical cluster to register nodes/workloads under. Must match the SPIRE SERVER PSAT node attestor configuration. | | | |||
| `pod_label` | string | optional | The pod label used for [Label Based Workload Registration](#label-based-workload-registration) | | | |||
| `pod_annotation` | string | optional | The pod annotation used for [Annotation Based Workload Registration](#annotation-based-workload-registration) | | | |||
| `mode` | string | optional | How to run the registrar, either using a `"webhook"`, `"reconcile`" or `"crd"`. See [Differences](#differences-between-modes) for more details. | `"webhook"` | | |||
| `mode` | string | required | How to run the registrar, either `"reconcile`" or `"crd"`. See [Differences](#differences-between-modes) for more details. | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `mode` | string | required | How to run the registrar, either `"reconcile`" or `"crd"`. See [Differences](#differences-between-modes) for more details. | | | |
| `mode` | string | required | How to run the registrar, either `"reconcile"` or `"crd"`. See [Differences](#differences-between-modes) for more details. | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:+1
}, | ||
}, | ||
{ | ||
name: "overrides", | ||
in: ` | ||
mode = "reconcile" | ||
log_level = "LEVELOVERRIDE" | ||
log_path = "PATHOVERRIDE" | ||
addr = ":1234" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are not those configs removed?
addr = ":1234"
cert_path = "CERTOVERRIDE"
key_path = "KEYOVERRIDE"
cacert_path = "CACERTOVERRIDE"
insecure_skip_client_verification
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yep, thanks, i'll clean these up.
Signed-off-by: Andrew Harding <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!
* Remove webhook mode from k8s-workload-registrar This was deprecated in 1.3.0. Removing for 1.4.0. Signed-off-by: Andrew Harding <[email protected]> * Address PR comments Signed-off-by: Andrew Harding <[email protected]> Signed-off-by: Christian Görg <[email protected]>
* Remove webhook mode from k8s-workload-registrar This was deprecated in 1.3.0. Removing for 1.4.0. Signed-off-by: Andrew Harding <[email protected]> * Address PR comments Signed-off-by: Andrew Harding <[email protected]>
This was deprecated in 1.3.0. Removing for 1.4.0.