Skip to content

Fission tries to change ValidatingWebhookConfiguration on microk8s #2825

@henrysachs

Description

@henrysachs

Fission/Kubernetes version

$ fission version
$ kubectl version

Kubernetes Version: v1.26.6

Kubernetes platform (e.g. Google Kubernetes Engine)

Microk8s (self hosted)

Describe the bug

when trying to install fission on microk8s via helm i get the following error:

  ********************
        Release was not present in Helm.  Diff will show entire contents as new.
  ********************
  Error: Failed to render chart: exit status 1: Error: rendered manifests contain a resource that already exists. Unable to continue with install: ValidatingWebhookConfiguration "validating-webhook-configuration" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "fission"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "fission"

I'm using the default values and haven't changed anything until now.

To Reproduce

Install microk8s with metallb on a linux VM

Expected result

fission creates its own ValidatingWebhookConfiguration (probably)

Actual result

helm can't install until the corresponding annotations and labels are set

Screenshots/Dump file

$ fission support dump

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions