Skip to content

can't install chart when omiting pathType #145

@gecube

Description

@gecube

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Chart

dex

Version

0.19.1

Expected Behavior

Install the chart with defaults

Actual Behavior

dex                      	helmrelease/dex                       	0.19.1  	False    	False	Helm install failed for release dex/dex with chart dex@0.19.1: 1 error occurred:                                                     	
                         	                                      	        	         	     		* Ingress.networking.k8s.io "dex" is invalid: spec.rules[0].http.paths[0].pathType: Required value: pathType must be specified 
                         	                                      	        	         	     		*

Steps To Reproduce

prepare HelmRelease

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: dex
  namespace: dex
spec:
  install:
    remediation:
      retries: 3
  upgrade:
    remediation:
      retries: 3
  chart:
    spec:
      chart: dex
      sourceRef:
        kind: HelmRepository
        name: dex
      version: '*'
  interval: 1m0s
  values:
    ingress:
      enabled: true
      annotations:
        cert-manager.io/cluster-issuer: acme
      hosts:
        - host: ****
          paths:
            - path: /
      tls:
        - hosts:
            - ***
          secretName: dex-cert
      className: nginx
    ...

install

Additional Information

No response

Values

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions