Skip to content

Commit

Permalink
ArgoCD update to 2.13.4
Browse files Browse the repository at this point in the history
  • Loading branch information
krankkkk committed Feb 3, 2025
1 parent 34cede3 commit 7f05af7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
18 changes: 17 additions & 1 deletion charts/argocd/Changelog.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
### Chart Version: 16.3.2
- AppVersion update to 2.13.4
- No other migrations necessary
- Added the possibility to set the `enableOCI` flag on the helm-registries

Example of oci Helm Charts:
```hcl
infrastructure-charts = {
helmRegistries = {
bitnamiCharts = {
url = "registry-1.docker.io/bitnamicharts"
enableOCI = true
}
}
...
}
```




### Chart Version: 16.3.1
- AppVersion update to 2.12.4
Expand Down
12 changes: 9 additions & 3 deletions charts/argocd/templates/projects/helm-registries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ metadata:
name: {{ $registryName }}-helm
labels:
argocd.argoproj.io/secret-type: repository
app.kubernetes.io/part-of: argocd
data:
name: {{ printf $registryName| b64enc }}
password: {{ printf $registry.password | b64enc }}
project: {{ $projectName | b64enc }}
type: {{ printf "helm" | b64enc }}
url: {{ $registry.url | b64enc }}
username: {{ printf ($registry.username | default "ARGOCD_GIT_ACCESS_TOKEN") | b64enc }}

{{- if $registry.password }}
username: {{ $registry.username | default "ARGOCD_GIT_ACCESS_TOKEN" | b64enc }}
password: {{ printf $registry.password | b64enc }}
{{- end }}

{{- if $registry.enableOCI }}
enableOCI: {{ $registry.enableOCI | toString | b64enc }}
{{- end }}
---
{{- end }}
{{- end }}

0 comments on commit 7f05af7

Please sign in to comment.