The Kubernetes provider in k8s-infra, k8s-apps and monitoring now has ignoreChanges: ["kubeconfig"].
Why
k8s-bootstrap now exports the control-plane VIP (.147), while these stacks have master-1 (.140) stored in state. The CA is identical, so it is the same cluster, but Pulumi treated the new address as a different one and planned to replace the provider and every resource under it, including Longhorn and PVCs.
Preview
k8s-infra: 29 unchanged
k8s-apps: 7 unchanged
monitoring: 5 unchanged
Typecheck passes for all three.
Follow-up
These stacks keep connecting through master-1, and later kubeconfig changes are ignored until their stored provider config is updated. Moving them to the VIP needs a separate state change.
## What changed
The Kubernetes provider in `k8s-infra`, `k8s-apps` and `monitoring` now has `ignoreChanges: ["kubeconfig"]`.
## Why
`k8s-bootstrap` now exports the control-plane VIP (`.147`), while these stacks have master-1 (`.140`) stored in state. The CA is identical, so it is the same cluster, but Pulumi treated the new address as a different one and planned to replace the provider and every resource under it, including Longhorn and PVCs.
## Preview
- `k8s-infra`: 29 unchanged
- `k8s-apps`: 7 unchanged
- `monitoring`: 5 unchanged
Typecheck passes for all three.
## Follow-up
These stacks keep connecting through master-1, and later kubeconfig changes are ignored until their stored provider config is updated. Moving them to the VIP needs a separate state change.
k8s-bootstrap now exports the control-plane VIP while these stacks have master-1 stored in state. Pulumi treats the new server address as a different cluster and plans to replace the provider and every resource under it, including Longhorn and PVCs. Ignore kubeconfig changes on the provider so the stacks keep their stored connection.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
The Kubernetes provider in
k8s-infra,k8s-appsandmonitoringnow hasignoreChanges: ["kubeconfig"].Why
k8s-bootstrapnow exports the control-plane VIP (.147), while these stacks have master-1 (.140) stored in state. The CA is identical, so it is the same cluster, but Pulumi treated the new address as a different one and planned to replace the provider and every resource under it, including Longhorn and PVCs.Preview
k8s-infra: 29 unchangedk8s-apps: 7 unchangedmonitoring: 5 unchangedTypecheck passes for all three.
Follow-up
These stacks keep connecting through master-1, and later kubeconfig changes are ignored until their stored provider config is updated. Moving them to the VIP needs a separate state change.