Closed justinsb closed 2 days ago
hmmm, somehow I don't see @justinsb comments when posting. Sorry for the distractions.
Here's the error as it looks right now:
apiVersion: core.cnrm.cloud.google.com/v1beta1
kind: ConfigConnectorContext
metadata:
name: configconnectorcontext.core.cnrm.cloud.google.com
namespace: default
spec:
googleServiceAccount: kcc@fake-project.iam.gserviceaccount.com
version: 1.2.3
status:
errors:
- 'error during reconciliation: error building deployment objects: error reading
file /configconnector-operator/channels/packages/configconnector/1.2.3/namespaced/per-namespace-components.yaml:
open /configconnector-operator/channels/packages/configconnector/1.2.3/namespaced/per-namespace-components.yaml:
no such file or directory'
healthy: false
We can certainly improve that, but I think it's reasonably clear for a soft-launch.
Updated to give a slightly better error message:
status:
errors:
- 'error during reconciliation: error building deployment objects: version "1.2.3"
could not be loaded: error reading file /configconnector-operator/channels/packages/configconnector/1.2.3/namespaced/per-namespace-components.yaml:
open /configconnector-operator/channels/packages/configconnector/1.2.3/namespaced/per-namespace-components.yaml:
no such file or directory'
healthy: false
/lgtm Defer to @cheftako to unhold.
/lgtm /approve
/hold cancel
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cheftako, yuwenma
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Rather than supporting per-object controller switching, I think we should support per-namespace KCC version selection.
1) I think it achieves the same "give me the old controller" behaviour, in practice, and it's reasonably granular as long as we don't start shipping dozens of important direct controllers per release (i.e. as long as we pace ourselves) 2) I worry if we support the terraform reconcilers on a per-object level, we have no way of ever ending that support. And we can't support it forever, because we can't add fields to the old controllers. 3) I think this is a feature we want to support anyway ("gradual upgrades").
cc @yuwenma and @cheftako and @nicslatts