Skip to content

Commit

Permalink
check all repositories in cozy-public
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Feb 19, 2024
1 parent 9180896 commit 042cc98
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/core/platform/templates/helmreleases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,15 +647,18 @@ spec:
- name: kubeovn
namespace: cozy-kubeovn
{{- if .Capabilities.APIVersions.Has "source.toolkit.fluxcd.io/v1beta2" }}
{{- $repoApps := lookup "source.toolkit.fluxcd.io/v1beta2" "HelmRepository" "cozy-public" "cozystack-apps" }}
{{- $repoExtra := lookup "source.toolkit.fluxcd.io/v1beta2" "HelmRepository" "cozy-public" "cozystack-extra" }}
{{- with (lookup "source.toolkit.fluxcd.io/v1beta2" "HelmRepository" "cozy-public" "").items }}
values:
kubeapps:
redis:
master:
podAnnotations:
cozystack.io/repository-hash-apps: {{ (($repoApps.status).artifact).revision | quote }}
cozystack.io/repository-hash-extra: {{ (($repoExtra.status).artifact).revision | quote }}
{{- range $index, $repo := . }}
{{- with (($repo.status).artifact).revision }}
repository.cozystack.io/{{ $repo.metadata.name }}: {{ quote . }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
Expand Down

0 comments on commit 042cc98

Please sign in to comment.