tarioch / flux-check-hook

MIT License
31 stars 6 forks source link

TypeError ("string indices must be integers, not 'str'",) #12

Open varac opened 2 months ago

varac commented 2 months ago

I'm using v0.5.0 of this hook, but I get this error:

[ERROR] vaultwarden-hr.yaml: TypeError ("string indices must be integers, not 'str'",)

vaultwarden-hr.yaml:

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: vaultwarden
  namespace: vaultwarden
spec:
  releaseName: vaultwarden
  chartRef:
    kind: OCIRepository
    name: vaultwarden
    namespace: flux-system
  interval: "24h"

vaultwarden-oci-repo.yaml:

---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: vaultwarden
  namespace: flux-system
spec:
  interval: 1h
  url: oci://tccr.io/truecharts/vaultwarden
  layerSelector:
    mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
    operation: copy
  ref:
    semver: "28.3.3"
tarioch commented 2 months ago

@jamiezieziula can you have a look?

LEI commented 2 weeks ago

Also seeing this error with helm.toolkit.fluxcd.io/v2 only on a kube-prometheus-stack release and a custom values file of another chart.