question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

override fields with SSA

See original GitHub issue

I’m using SSA and I need to change a CR that had been created by GKE add-on manager.

Here is what I’m doing:

       let configConnectorConfigGroup: kube.yaml.ConfigGroup;

       configConnectorServiceAccount.email.apply(servicesAccountEmail => {
               const configConnector = {
                       apiVersion: "core.cnrm.cloud.google.com/v1beta1",
                       kind: "ConfigConnector",
                       metadata: { name: "configconnector.core.cnrm.cloud.google.com" },
                       spec: {
                           mode: "cluster", // GKE defaults to "namespaced" mode, which we need to override
                           googleServiceAccount: servicesAccountEmail,
                       },
               };

               configConnectorConfigGroup = new kube.yaml.ConfigGroup("configconnector", { yaml: yaml.stringify(configConnector), skipAwait: true }, kubeOpts);

       })

I am getting this error:

  kubernetes:core.cnrm.cloud.google.com/v1beta1:ConfigConnector (configconnector.core.cnrm.cloud.google.com):
    error: resource configconnector.core.cnrm.cloud.google.com was not successfully created by the Kubernetes API server : Apply failed with 1 conflict: conflict with "gke_addon_poststart" using core.cnrm.cloud.google.com/v1beta1: .spec.mode

I had a look at the code, but couldn’t find anything with regards to how one can override fields that are not managed by Pulumi, which is what I’d like to be able to do.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
errordevelopercommented, Oct 27, 2022

@squaremo pulumi.com/patchForce: true worked, thanks a lot for your help!

1reaction
squaremocommented, Oct 27, 2022

OK, that field is set explicitly by gke_addon_poststart – maybe putting the annotation pulumi.com/patchForce: true on the patch object will be enough to resolve that conflict.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Step 5: Selecting Field Overrides - Informatica Documentation
To work with the Field Overrides, complete the following steps: In the. SSA-NAME3 Popoulation Override Manager- Field Selection. window, select. Field.
Read more >
SSA - Fee Agreements – Processing the Assessment
On the PACT screen, override the calculated assessment in the “User Fee” field (9-M) with the manually calculated assessment; select Payment ...
Read more >
POMS: DI 81010.050 - Fields and Edits in the Electronic ... - SSA
Fields and Edits in the Electronic Disability Collect System (EDCS) ... Select the override function appearing on the Collect Edits screen.
Read more >
POMS: SI 02310.999 - Exhibits of SSI Interfaces - 12/17/2013
Field # Record Location Field Size Field Format 1 1‑4 4 Numeric 2 5‑13 9 Alpha 3 14‑22 9 Alpha Numeric
Read more >
POMS: GN 03930.066 - Title II - Fee Petitions &ndash ... - SSA
Override the SPS-calculated assessment for the subsequent fee payment. •. Prorate the assessment, as described in the example below, based on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found