Skip to content

Fission helm conflicts with Rancher #2920

@sergeykorablin

Description

@sergeykorablin

Fission/Kubernetes version

$ fission version

$ kubectl version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.11+k3s1

Kubernetes platform (e.g. Google Kubernetes Engine)

Describe the bug

$ helm install --version v1.20.1 --namespace $FISSION_NAMESPACE fission fission-charts/fission-all
            
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. 
Unable to continue with install: MutatingWebhookConfiguration "mutating-webhook-configuration" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata;
label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm";
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"

https://github.com/rancher/rancher/blob/268d751c68b264e6f50a23d360d4699ca131768d/pkg/crds/provisioningv2/capi-webhooks.yaml#L6
uses the same name for MutatingWebhookConfiguration

To Reproduce

  1. Install Rancher
helm install rancher rancher-latest/rancher \
  --namespace cattle-system \
  --set hostname=rancher.homelab.local \
  --set replicas=1 \
  --set bootstrapPassword=admin
  1. Try to install Fission
helm install --version v1.20.1 --namespace fission fission fission-charts/fission-all

Expected result

Actual result

Screenshots/Dump file

$ fission support dump

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions