Skip to content

Duplicate serviceAccountName key in Helm chart #145

@zabihexes

Description

@zabihexes

Could you please help me? I must be doing something wrong.

This my config.

Thank you

apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
  name: chisel-operator-repo
  namespace: flux-system
spec:
  type: "oci"
  url: oci://ghcr.io/fyralabs/chisel-operator
  interval: 10m
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: chisel-operator
  namespace: flux-system
spec:
  releaseName: chisel-operator
  chart:
    spec:
      chart: chisel-operator
      version: "0.1.0"
      sourceRef:
        kind: HelmRepository
        name: chisel-operator-repo
  interval: 1m0s
  #values: {}  # Add custom values if needed

This is the error.

flux get all -A --status-selector ready=false
NAMESPACE       NAME    REVISION        SUSPENDED       READY   MESSAGE 

NAMESPACE       NAME    REVISION        SUSPENDED       READY   MESSAGE 

NAMESPACE       NAME    REVISION        SUSPENDED       READY   MESSAGE 

NAMESPACE       NAME                            REVISION        SUSPENDED       READY   MESSAGE                                                                                                                                                                                   

flux-system     helmrelease/chisel-operator     0.1.0           False           False   Helm install failed for release flux-system/chisel-operator with chart [email protected]: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors:
                                                                                          line 29: mapping key "serviceAccountName" already defined at line 27                                                                                                                    


NAMESPACE       NAME    REVISION        SUSPENDED       READY   MESSAGE 

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