Skip to content

Use destroy and recreate plan for roleRef changes #176

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

Closed
ghost opened this issue May 6, 2022 · 0 comments
Closed

Use destroy and recreate plan for roleRef changes #176

ghost opened this issue May 6, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented May 6, 2022

Handle cannot change roleRef in resource diff function.

Error: github.com/kbst/terraform-provider-kustomize/kustomize.kustomizationResourceDiff: apiVersion: "rbac.authorization.k8s.io/v1", kind: "RoleBinding", namespace: "pstest-observability-config" name: "app-observability-config-read": patch failed 'application/strategic-merge-patch+json': RoleBinding.rbac.authorization.k8s.io "app-observability-config-read" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"Role", Name:"app-observability-config-read"}: cannot change roleRef
@pst pst closed this as completed in cb7878b May 20, 2022
pst added a commit that referenced this issue May 20, 2022
Handle roleRef changes with destroy and recreate plan fix #176
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

No branches or pull requests

0 participants