Bump Bugfix Version

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
Oliver Bähler 2021-04-21 15:17:22 +02:00
commit 184254815d
No known key found for this signature in database
GPG key ID: 7AE0B2618ECDC1B6
26 changed files with 276 additions and 66 deletions

View file

@ -1,6 +1,6 @@
dependencies: dependencies:
- name: redis-ha - name: redis-ha
repository: https://dandydeveloper.github.io/charts/ repository: https://dandydeveloper.github.io/charts/
version: 4.10.1 version: 4.10.4
digest: sha256:e1e0526ad009ecc065df937b48c4e0e5877e5194242c7888b1dc4467775f2663 digest: sha256:e36321520ffd6f91962b0bcfeae947a86983d6b6d273eb616f08425e2b8ab9c2
generated: "2021-04-01T08:36:01.324672-07:00" generated: "2021-04-14T13:41:16.151666-07:00"

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.0.0 appVersion: 2.0.0
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 3.0.1 version: 3.1.2
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords: keywords:
@ -16,6 +16,6 @@ maintainers:
- name: seanson - name: seanson
dependencies: dependencies:
- name: redis-ha - name: redis-ha
version: 4.10.1 version: 4.10.4
repository: https://dandydeveloper.github.io/charts/ repository: https://dandydeveloper.github.io/charts/
condition: redis-ha.enabled condition: redis-ha.enabled

View file

@ -80,6 +80,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
| global.hostAliases | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files | `[]` | | global.hostAliases | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files | `[]` |
| nameOverride | Provide a name in place of `argocd` | `"argocd"` | | nameOverride | Provide a name in place of `argocd` | `"argocd"` |
| installCRDs | Install CRDs if you are using Helm2. | `true` | | installCRDs | Install CRDs if you are using Helm2. | `true` |
| configs.clusterCredentials | Provide one or multiple [external cluster credentials](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#clusters) | `[]` (See [values.yaml](values.yaml)) |
| configs.knownHostsAnnotations | Known Hosts configmap annotations | `{}` | | configs.knownHostsAnnotations | Known Hosts configmap annotations | `{}` |
| configs.knownHosts.data.ssh_known_hosts | Known Hosts | See [values.yaml](values.yaml) | | configs.knownHosts.data.ssh_known_hosts | Known Hosts | See [values.yaml](values.yaml) |
| configs.secret.annotations | Annotations for argocd-secret | `{}` | | configs.secret.annotations | Annotations for argocd-secret | `{}` |

View file

@ -0,0 +1,23 @@
{{- range .Values.configs.clusterCredentials }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ include "argo-cd.name" $ }}-cluster-{{ .name }}
labels:
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
argocd.argoproj.io/secret-type: cluster
{{- with .annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
type: Opaque
stringData:
name: {{ required "A valid .Values.configs.clusterCredentials[].name entry is required!" .name }}
server: {{ required "A valid .Values.configs.clusterCredentials[].server entry is required!" .server }}
{{- with .namespaces }}
namespaces: {{ . }}
{{- end }}
config: |
{{- required "A valid .Values.configs.clusterCredentials[].config entry is required!" .config | toPrettyJson | nindent 4 }}
{{- end }}

View file

@ -872,6 +872,29 @@ repoServer:
## Argo Configs ## Argo Configs
configs: configs:
## External Cluster Credentials
## reference:
## - https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#clusters
## - https://argoproj.github.io/argo-cd/operator-manual/security/#external-cluster-credentials
clusterCredentials: []
# - name: mycluster
# server: https://mycluster.com
# annotations: {}
# config:
# bearerToken: "<authentication token>"
# tlsClientConfig:
# insecure: false
# caData: "<base64 encoded certificate>"
# - name: mycluster2
# server: https://mycluster2.com
# annotations: {}
# namespaces: namespace1,namespace2
# config:
# bearerToken: "<authentication token>"
# tlsClientConfig:
# insecure: false
# caData: "<base64 encoded certificate>"
knownHostsAnnotations: {} knownHostsAnnotations: {}
knownHosts: knownHosts:
data: data:

View file

@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
description: A Helm chart to install Argo-Events in k8s Cluster description: A Helm chart to install Argo-Events in k8s Cluster
name: argo-events name: argo-events
version: 1.2.4 version: 1.3.1
keywords: keywords:
- argo-events - argo-events
- sensor-controller - sensor-controller

View file

@ -49,10 +49,13 @@ rules:
- workflowtemplates/finalizers - workflowtemplates/finalizers
- sensors - sensors
- sensors/finalizers - sensors/finalizers
- sensors/status
- eventsources - eventsources
- eventsources/finalizers - eventsources/finalizers
- eventsources/status
- eventbus - eventbus
- eventbus/finalizers - eventbus/finalizers
- eventbus/status
- apiGroups: - apiGroups:
- "" - ""
resources: resources:

View file

@ -18,6 +18,9 @@ spec:
labels: labels:
app: {{ .Release.Name }}-{{ .Values.eventbusController.name }} app: {{ .Release.Name }}-{{ .Values.eventbusController.name }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
{{- with .Values.eventbusController.podAnnotations }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
serviceAccountName: {{ .Values.serviceAccount }} serviceAccountName: {{ .Values.serviceAccount }}
containers: containers:

View file

@ -18,6 +18,9 @@ spec:
labels: labels:
app: {{ .Release.Name }}-{{ .Values.eventsourceController.name }} app: {{ .Release.Name }}-{{ .Values.eventsourceController.name }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
{{- with .Values.eventsourceController.podAnnotations }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
serviceAccountName: {{ .Values.serviceAccount }} serviceAccountName: {{ .Values.serviceAccount }}
containers: containers:

View file

@ -18,6 +18,9 @@ spec:
labels: labels:
app: {{ .Release.Name }}-{{ .Values.sensorController.name }} app: {{ .Release.Name }}-{{ .Values.sensorController.name }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
{{- with .Values.sensorController.podAnnotations }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
serviceAccountName: {{ .Values.serviceAccount }} serviceAccountName: {{ .Values.serviceAccount }}
containers: containers:

View file

@ -48,6 +48,7 @@ sensorController:
tag: v1.2.3 tag: v1.2.3
replicaCount: 1 replicaCount: 1
sensorImage: sensor sensorImage: sensor
podAnnotations: {}
nodeSelector: {} nodeSelector: {}
tolerations: {} tolerations: {}
affinity: {} affinity: {}
@ -58,6 +59,7 @@ eventsourceController:
tag: v1.2.3 tag: v1.2.3
replicaCount: 1 replicaCount: 1
eventsourceImage: eventsource eventsourceImage: eventsource
podAnnotations: {}
nodeSelector: {} nodeSelector: {}
tolerations: {} tolerations: {}
affinity: {} affinity: {}
@ -67,6 +69,7 @@ eventbusController:
image: eventbus-controller image: eventbus-controller
tag: v1.2.3 tag: v1.2.3
replicaCount: 1 replicaCount: 1
podAnnotations: {}
nodeSelector: {} nodeSelector: {}
tolerations: {} tolerations: {}
affinity: {} affinity: {}

View file

@ -2,8 +2,8 @@ apiVersion: v2
name: argocd-applicationset name: argocd-applicationset
description: A Helm chart for installing ArgoCD ApplicationSet description: A Helm chart for installing ArgoCD ApplicationSet
type: application type: application
version: 0.1.0 version: 0.1.3
appVersion: "v0.1.0-prerelease" appVersion: "v0.1.0"
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords: keywords:

View file

@ -18,7 +18,7 @@ To install the chart with the release name `my-release`:
$ helm repo add argo https://argoproj.github.io/argo-helm $ helm repo add argo https://argoproj.github.io/argo-helm
"argo" has been added to your repositories "argo" has been added to your repositories
$ helm install --name my-release argo/argo-applicationset $ helm install --name my-release argo/argocd-applicationset
NAME: my-release NAME: my-release
... ...
``` ```
@ -27,6 +27,17 @@ NAME: my-release
Users of Helm v3 should set the `installCRDs` value to `false` to avoid warnings about nonexistent webhooks. Users of Helm v3 should set the `installCRDs` value to `false` to avoid warnings about nonexistent webhooks.
### Testing
Users can test the chart with [kind](https://kind.sigs.k8s.io/) and [ct](https://github.com/helm/chart-testing).
```console
kind create cluster
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
ct install --namespace argocd
```
## Values ## Values
| Key | Type | Default | Description | | Key | Type | Default | Description |
@ -46,7 +57,11 @@ Users of Helm v3 should set the `installCRDs` value to `false` to avoid warnings
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | If defined, uses a Secret to pull an image from a private Docker registry or repository. | | imagePullSecrets | list | `[]` | If defined, uses a Secret to pull an image from a private Docker registry or repository. |
| installCRDs | bool | `true` | Install Custom Resource Definition | | installCRDs | bool | `true` | Install Custom Resource Definition |
| nameOverride | string | `""` | Provide a name in place of `argo-applicationset` | | mountSSHKnownHostsVolume | bool | `true` | Mount the `argocd-ssh-known-hosts-cm` volume |
| mountTLSCertsVolume | bool | `true` | Mount the `argocd-tls-certs-cm` volume |
| mountGPGKeysVolume | bool | `false` | Mount the `argocd-gpg-keys-cm` volume |
| mountGPGKeyringVolume | bool | `true` | Mount an emptyDir volume for `gpg-keyring` |
| nameOverride | string | `""` | Provide a name in place of `argocd-applicationset` |
| nodeSelector | object | `{}` | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) | | nodeSelector | object | `{}` | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) |
| podAnnotations | object | `{}` | Annotations for the controller pods | | podAnnotations | object | `{}` | Annotations for the controller pods |
| podSecurityContext | object | `{}` | Pod Security Context | | podSecurityContext | object | `{}` | Pod Security Context |

View file

@ -0,0 +1,77 @@
# Default values for argo-applicationset.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
installCRDs: false # this needs to be false with ct
image:
# The image repository
repository: quay.io/argocdapplicationset/argocd-applicationset
# Image pull policy
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
args:
metricsAddr: :8080
probeBindAddr: :8081
enableLeaderElection: false
namespace: argocd
argocdRepoServer: argocd-repo-server:8081
policy: sync
debug: false
dryRun: false
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
rbac:
pspEnabled: true
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
mountSSHKnownHostsVolume: true
mountTLSCertsVolume: true
mountGPGKeysVolume: false
mountGPGKeyringVolume: true

View file

@ -0,0 +1,6 @@
args:
enableLeaderElection: true
replicaCount: 3
installCRDs: false

View file

@ -49,6 +49,43 @@ spec:
protocol: TCP protocol: TCP
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
{{- if .Values.mountSSHKnownHostsVolume }}
- mountPath: /app/config/ssh
name: ssh-known-hosts
{{- end }}
{{- if .Values.mountTLSCertsVolume }}
- mountPath: /app/config/tls
name: tls-certs
{{- end }}
{{- if .Values.mountGPGKeysVolume }}
- mountPath: /app/config/gpg/source
name: gpg-keys
{{- end }}
{{- if .Values.mountGPGKeyringVolume }}
- mountPath: /app/config/gpg/keys
name: gpg-keyring
{{- end }}
volumes:
{{- if .Values.mountSSHKnownHostsVolume }}
- configMap:
name: argocd-ssh-known-hosts-cm
name: ssh-known-hosts
{{- end }}
{{- if .Values.mountTLSCertsVolume }}
- configMap:
name: argocd-tls-certs-cm
name: tls-certs
{{- end }}
{{- if .Values.mountGPGKeysVolume }}
- configMap:
name: argocd-gpg-keys-cm
name: gpg-keys
{{- end }}
{{- if .Values.mountGPGKeyringVolume }}
- emptyDir: {}
name: gpg-keyring
{{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View file

@ -9,6 +9,7 @@ rules:
- argoproj.io - argoproj.io
resources: resources:
- applications - applications
- appprojects
- applicationsets - applicationsets
- applicationsets/finalizers - applicationsets/finalizers
verbs: verbs:
@ -28,7 +29,7 @@ rules:
- patch - patch
- update - update
- apiGroups: - apiGroups:
- '' - ""
resources: resources:
- events - events
verbs: verbs:
@ -40,7 +41,7 @@ rules:
- update - update
- watch - watch
- apiGroups: - apiGroups:
- '' - ""
resources: resources:
- secrets - secrets
verbs: verbs:
@ -48,31 +49,38 @@ rules:
- list - list
- watch - watch
- apiGroups: - apiGroups:
- '' - ""
resources: resources:
- configmaps - configmaps
verbs: verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
- extensions
resources:
- deployments
verbs:
- get - get
- list - list
- watch - watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create - create
- update
- patch
- delete - delete
- apiGroups:
- ''
resources:
- configmaps/status
verbs:
- get - get
- update - list
- patch - patch
- apiGroups: - update
- '' - watch
resources:
- events
verbs:
- create
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding

View file

@ -70,3 +70,8 @@ nodeSelector: {}
tolerations: [] tolerations: []
affinity: {} affinity: {}
mountSSHKnownHostsVolume: true
mountTLSCertsVolume: true
mountGPGKeysVolume: false
mountGPGKeyringVolume: true

View file

@ -1,9 +1,9 @@
apiVersion: v2 apiVersion: v2
appVersion: 1.0.2 appVersion: 1.1.1
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD. description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications name: argocd-notifications
type: application type: application
version: 1.0.15 version: 1.1.1
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords: keywords:

View file

@ -7,7 +7,7 @@ fullnameOverride: ""
image: image:
repository: argoprojlabs/argocd-notifications repository: argoprojlabs/argocd-notifications
tag: v1.0.2 tag: v1.1.1
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: [] imagePullSecrets: []
@ -337,7 +337,7 @@ bots:
image: image:
repository: argoprojlabs/argocd-notifications repository: argoprojlabs/argocd-notifications
tag: v1.0.1 tag: v1.1.1
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: [] imagePullSecrets: []