Skip to content
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

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

azdagron
Copy link
Member

This was deprecated in 1.3.0. Removing for 1.4.0.

@azdagron azdagron added this to the 1.4.0 milestone Jul 11, 2022
@azdagron azdagron force-pushed the remove-deprecated-webhook-mode branch from 9a1d6cf to 77a9c9d Compare July 11, 2022 16:24
This was deprecated in 1.3.0. Removing for 1.4.0.

Signed-off-by: Andrew Harding <[email protected]>
@azdagron azdagron force-pushed the remove-deprecated-webhook-mode branch from 77a9c9d to d58e3cc Compare July 11, 2022 16:28
`insecure_skip_client_verification` configurable) unless you fully understand
the risks.

#### Migrating away from the webhook
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Member Author

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. | |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `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. | |

Copy link
Member Author

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"
Copy link
Collaborator

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 

Copy link
Member Author

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]>
Copy link
Collaborator

@MarcosDY MarcosDY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

@azdagron azdagron merged commit b39804f into spiffe:main Jul 12, 2022
@azdagron azdagron deleted the remove-deprecated-webhook-mode branch July 12, 2022 18:26
goergch pushed a commit to goergch/spire that referenced this pull request Jul 26, 2022
* 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]>
stevend-uber pushed a commit to stevend-uber/spire that referenced this pull request Oct 16, 2023
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants