Merge branch 'main' into 2523

This commit is contained in:
Jason Meridth 2024-03-22 11:11:24 -05:00 committed by GitHub
commit ad82e5a7fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 45 additions and 32 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.6.6 appVersion: v1.6.6
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 2.34.3 version: 2.34.4
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
keywords: keywords:
@ -18,5 +18,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: added
description: Bump argo-rollouts to v1.6.6 description: Allow customizing additional RBAC rules for other providers

View file

@ -60,6 +60,7 @@ For full list of changes please check ArtifactHub [changelog].
| notifications.secret.items | object | `{}` | Generic key:value pairs to be inserted into the notifications secret | | notifications.secret.items | object | `{}` | Generic key:value pairs to be inserted into the notifications secret |
| notifications.templates | object | `{}` | Notification templates | | notifications.templates | object | `{}` | Notification templates |
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent | | notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
| providerRBAC.additionalRules | list | `[]` | Additional RBAC rules for others providers |
| providerRBAC.enabled | bool | `true` | Toggles addition of provider-specific RBAC rules to the controller Role and ClusterRole | | providerRBAC.enabled | bool | `true` | Toggles addition of provider-specific RBAC rules to the controller Role and ClusterRole |
| providerRBAC.providers.ambassador | bool | `true` | Adds RBAC rules for the Ambassador provider | | providerRBAC.providers.ambassador | bool | `true` | Adds RBAC rules for the Ambassador provider |
| providerRBAC.providers.apisix | bool | `true` | Adds RBAC rules for the Apisix provider | | providerRBAC.providers.apisix | bool | `true` | Adds RBAC rules for the Apisix provider |

View file

@ -258,23 +258,26 @@ rules:
{{- if .Values.providerRBAC.providers.contour }} {{- if .Values.providerRBAC.providers.contour }}
# Access needed when using the Contour provider # Access needed when using the Contour provider
- apiGroups: - apiGroups:
- projectcontour.io - projectcontour.io
resources: resources:
- httpproxies - httpproxies
verbs: verbs:
- get - get
- list - list
- watch - watch
- update - update
{{- end }} {{- end }}
{{- if .Values.providerRBAC.providers.glooPlatform }} {{- if .Values.providerRBAC.providers.glooPlatform }}
# Access needed when using the Gloo Platform provider # Access needed when using the Gloo Platform provider
- apiGroups: - apiGroups:
- networking.gloo.solo.io - networking.gloo.solo.io
resources: resources:
- routetables - routetables
verbs: verbs:
- '*' - '*'
{{- end }}
{{- with .Values.providerRBAC.additionalRules }}
{{ toYaml . }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View file

@ -273,6 +273,8 @@ providerRBAC:
contour: true contour: true
# -- Adds RBAC rules for the Gloo Platform provider, see `https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-glooplatform/blob/main/README.md` # -- Adds RBAC rules for the Gloo Platform provider, see `https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-glooplatform/blob/main/README.md`
glooPlatform: true glooPlatform: true
# -- Additional RBAC rules for others providers
additionalRules: []
dashboard: dashboard:
# -- Deploy dashboard server # -- Deploy dashboard server

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-image-updater name: argocd-image-updater
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
type: application type: application
version: 0.9.5 version: 0.9.6
appVersion: v0.12.2 appVersion: v0.12.2
home: https://github.com/argoproj-labs/argocd-image-updater home: https://github.com/argoproj-labs/argocd-image-updater
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
@ -18,5 +18,9 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: added - kind: fixed
description: Allow overriding of .Release.Namespace with .Values.namespaceOverride description: Properly quoting the config map values
- kind: fixed
description: Only adding a data field to argocd-image-updater-ssh-config when there's data to be added
- kind: changed
description: Only include config.argocd if config.applicationsAPIKind is set to 'argocd'

View file

@ -5,7 +5,7 @@ metadata:
{{- include "argocd-image-updater.labels" . | nindent 4 }} {{- include "argocd-image-updater.labels" . | nindent 4 }}
name: argocd-image-updater-ssh-config name: argocd-image-updater-ssh-config
namespace: {{ include "argocd-image-updater.namespace" . | quote }} namespace: {{ include "argocd-image-updater.namespace" . | quote }}
{{- with .Values.config.sshConfig }}
data: data:
{{- with .Values.config.sshConfig }}
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}

View file

@ -8,30 +8,32 @@ metadata:
namespace: {{ include "argocd-image-updater.namespace" . | quote }} namespace: {{ include "argocd-image-updater.namespace" . | quote }}
data: data:
{{- with .Values.config.applicationsAPIKind }} {{- with .Values.config.applicationsAPIKind }}
applications_api: {{ . }} applications_api: {{ . | quote }}
{{- if eq . "argocd" }}
argocd.grpc_web: {{ $.Values.config.argocd.grpcWeb | quote }}
{{- with $.Values.config.argocd.serverAddress }}
argocd.server_addr: {{ . | quote }}
{{- end }} {{- end }}
argocd.grpc_web: {{ .Values.config.argocd.grpcWeb | quote }} argocd.insecure: {{ $.Values.config.argocd.insecure | quote }}
{{- with .Values.config.argocd.serverAddress }} argocd.plaintext: {{ $.Values.config.argocd.plaintext | quote }}
argocd.server_addr: {{ . }} {{- end -}}
{{- end }} {{- end }}
argocd.insecure: {{ .Values.config.argocd.insecure | quote }}
argocd.plaintext: {{ .Values.config.argocd.plaintext | quote }}
{{- with .Values.config.logLevel }} {{- with .Values.config.logLevel }}
log.level: {{ . }} log.level: {{ . | quote }}
{{- end }} {{- end }}
{{- with .Values.config.gitCommitUser }} {{- with .Values.config.gitCommitUser }}
git.user: {{ . }} git.user: {{ . | quote }}
{{- end }} {{- end }}
{{- with .Values.config.gitCommitMail }} {{- with .Values.config.gitCommitMail }}
git.email: {{ . }} git.email: {{ . | quote }}
{{- end }} {{- end }}
{{- with .Values.config.gitCommitTemplate }} {{- with .Values.config.gitCommitTemplate }}
git.commit-message-template: | git.commit-message-template: |
{{- nindent 4 . }} {{- nindent 4 . }}
{{- end }} {{- end }}
kube.events: {{ .Values.config.disableKubeEvents | quote }} kube.events: {{ .Values.config.disableKubeEvents | quote }}
{{- with .Values.config.registries }}
registries.conf: | registries.conf: |
{{- with .Values.config.registries }} registries:
registries: {{- toYaml . | nindent 6 }}
{{- toYaml . | nindent 6 }} {{- end }}
{{- end }}

View file

@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
labels: labels:
{{ include "argocd-image-updater.labels" . | nindent 4 }} {{- include "argocd-image-updater.labels" . | nindent 4 }}
name: {{ include "argocd-image-updater.fullname" . }} name: {{ include "argocd-image-updater.fullname" . }}
namespace: {{ include "argocd-image-updater.namespace" . | quote }} namespace: {{ include "argocd-image-updater.namespace" . | quote }}
rules: rules:
@ -37,7 +37,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
labels: labels:
{{ include "argocd-image-updater.labels" . | nindent 4 }} {{- include "argocd-image-updater.labels" . | nindent 4 }}
name: {{ include "argocd-image-updater.fullname" . }} name: {{ include "argocd-image-updater.fullname" . }}
namespace: {{ include "argocd-image-updater.namespace" . | quote }} namespace: {{ include "argocd-image-updater.namespace" . | quote }}
roleRef: roleRef:

View file

@ -101,6 +101,7 @@ config:
applicationsAPIKind: "" applicationsAPIKind: ""
# Described in detail here https://argocd-image-updater.readthedocs.io/en/stable/install/running/#flags # Described in detail here https://argocd-image-updater.readthedocs.io/en/stable/install/running/#flags
# Note: this is only relevant if config.applicationsAPIKind == 'argocd'
argocd: argocd:
# -- Use the gRPC-web protocol to connect to the Argo CD API # -- Use the gRPC-web protocol to connect to the Argo CD API
grpcWeb: true grpcWeb: true