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

Allow eksa-controller-manager to remove package bundle controllers #833

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

ewollesen
Copy link
Contributor

These permissions will allow the eksa-controller to delete package bundle controller helm installations completely, and without error.

The namespace in question is the workload clusters, e.g. eksa-packages-my-workload-cluster.

The secret in question is the registry-mirror-secret that is created for workload clusters (regardless of whether or registry mirror is in use).

Part of #807.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

These permissions will allow the eksa-controller to delete package bundle
controller helm installations completely, and without error.

The namespace in question is the workload clusters,
e.g. eksa-packages-my-workload-cluster.

The secret in question is the registry-mirror-secret that is created for
workload clusters (regardless of whether or registry mirror is in use).

Part of aws#807.
@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ewollesen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot added approved size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 22, 2023
ewollesen pushed a commit to ewollesen/eks-anywhere that referenced this pull request Feb 22, 2023
This change introduces the creation and deletion of a namespaced package
bundle controller for workload clusters created via the full cluster
lifecycle.

This change is dependent on a change in the eks-anywhere-packages repo to
grant permissions to the eksa-controller-manager service account.

aws/eks-anywhere-packages#833

Without the change above, the reconciliation will log errors removing some
resources, which can be left behind.

Future commits will add packages installation/deletion via full cluster
lifecycle.
@jonahjon
Copy link
Contributor

/lgtm

@eks-distro-bot eks-distro-bot merged commit 1d0dca0 into aws:main Feb 22, 2023
ewollesen pushed a commit to ewollesen/eks-anywhere that referenced this pull request Mar 1, 2023
This change introduces the creation and deletion of a namespaced package
bundle controller for workload clusters created via the full cluster
lifecycle.

This change is dependent on a change in the eks-anywhere-packages repo to
grant permissions to the eksa-controller-manager service account.

aws/eks-anywhere-packages#833

Without the change above, the reconciliation will log errors removing some
resources, which can be left behind.

Future commits will add packages installation/deletion via full cluster
lifecycle.
ewollesen pushed a commit to ewollesen/eks-anywhere that referenced this pull request Mar 1, 2023
This change introduces the creation and deletion of a namespaced package
bundle controller for workload clusters created via the full cluster
lifecycle.

This change is dependent on a change in the eks-anywhere-packages repo to
grant permissions to the eksa-controller-manager service account.

aws/eks-anywhere-packages#833

Without the change above, the reconciliation will log errors removing some
resources, which can be left behind.

Future commits will add packages installation/deletion via full cluster
lifecycle.
ewollesen pushed a commit to ewollesen/eks-anywhere that referenced this pull request Mar 1, 2023
This change introduces the creation and deletion of a namespaced package
bundle controller for workload clusters created via the full cluster
lifecycle.

This change is dependent on a change in the eks-anywhere-packages repo to
grant permissions to the eksa-controller-manager service account.

aws/eks-anywhere-packages#833

Without the change above, the reconciliation will log errors removing some
resources, which can be left behind.

Future commits will add packages installation/deletion via full cluster
lifecycle.
ewollesen pushed a commit to ewollesen/eks-anywhere that referenced this pull request Mar 1, 2023
This change introduces the creation and deletion of a namespaced package
bundle controller for workload clusters created via the full cluster
lifecycle.

This change is dependent on a change in the eks-anywhere-packages repo to
grant permissions to the eksa-controller-manager service account.

aws/eks-anywhere-packages#833

Without the change above, the reconciliation will log errors removing some
resources, which can be left behind.

Future commits will add packages installation/deletion via full cluster
lifecycle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants