Skip to content

Strange issue with kustomize-mutating-webhook during bootstrap #2207

Description

@pipitonelabs

Just admiring your wonderful work, experimenting with a fresh Talos install here. During the task flux:bootstrap process, I received this error. Would be grateful if you could provide any insight on this?

✗ Kustomization/flux-system/kustomize-mutating-webhook dry-run failed: failed to create typed patch object (flux-system/kustomize-mutating-webhook; kustomize.toolkit.fluxcd.io/v1, Kind=Kustomization): .metadata.labels.substitution.flux/enabled: expected string, got &value.valueUnstructured{Value:true} task: Failed to run task "flux:bootstrap": exit status 1

I was able to get around this by editing the ks.yaml located at kubernetes/clusters/cluster-0/kustomize-mutating-webhook/ks.yaml on line 9 to be:

substitution.flux/enabled: "true"

instead of

substitution.flux/enabled: true

Great setup here!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions