diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 390cabc3..7ffa0ea4 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "1.5.1" +appVersion: "1.5.2" description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 2.2.1 +version: 2.2.5 home: https://github.com/argoproj/argo-helm icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png keywords: diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 44163122..5d0221af 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -47,7 +47,7 @@ $ helm install --name my-release argo/argo-cd ### Helm v3 Compatability -Requires chart version 1.5.1 or newer. +Requires chart version 1.5.2 or newer. Helm v3 has removed the `install-crds` hook so CRDs are now populated by files in the [crds](./crds) directory. Users of Helm v3 should set the `installCRDs` value to `false` to avoid warnings about nonexistant webhooks. @@ -57,13 +57,14 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i |-----|------|---------| | global.image.imagePullPolicy | If defined, a imagePullPolicy applied to all ArgoCD deployments. | `"IfNotPresent"` | | global.image.repository | If defined, a repository applied to all ArgoCD deployments. | `"argoproj/argocd"` | -| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v1.5.1"` | +| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v1.5.2"` | | global.securityContext | Toggle and define securityContext | See [values.yaml](values.yaml) | | global.imagePullSecrets | If defined, uses a Secret to pull an image from a private Docker registry or repository. | `[]` | | 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"` | | installCRDs | bool | `true` | Install CRDs if you are using Helm2. | | configs.knownHosts.data.ssh_known_hosts | Known Hosts | See [values.yaml](values.yaml) | +| configs.secret.annotations | Annotations for argocd-secret | `{}` | | configs.secret.argocdServerAdminPassword | Admin password | `null` | | configs.secret.argocdServerAdminPasswordMtime | Admin password modification time | `date "2006-01-02T15:04:05Z" now` if configs.secret.argocdServerAdminPassword is set | | configs.secret.bitbucketSecret | BitBucket incoming webhook secret | `""` | diff --git a/charts/argo-cd/templates/argocd-configs/argocd-secret.yaml b/charts/argo-cd/templates/argocd-configs/argocd-secret.yaml index ad8da483..efb80358 100644 --- a/charts/argo-cd/templates/argocd-configs/argocd-secret.yaml +++ b/charts/argo-cd/templates/argocd-configs/argocd-secret.yaml @@ -10,6 +10,12 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/part-of: argocd app.kubernetes.io/component: {{ .Values.server.name }} + {{- if .Values.configs.secret.annotations }} + annotations: + {{- range $key, $value := .Values.configs.secret.annotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} type: Opaque {{- if or .Values.configs.secret.githubSecret (or .Values.configs.secret.gitlabSecret .Values.configs.secret.bitbucketUUID .Values.configs.secret.bitbucketServerSecret .Values.configs.secret.gogsSecret .Values.configs.secret.argocdServerAdminPassword .Values.configs.secret.argocdServerTlsConfig .Values.configs.secret.extra) }} # Setting a blank data again will wipe admin password/key/cert diff --git a/charts/argo-cd/templates/argocd-server/service.yaml b/charts/argo-cd/templates/argocd-server/service.yaml index 673461b2..292bf94b 100644 --- a/charts/argo-cd/templates/argocd-server/service.yaml +++ b/charts/argo-cd/templates/argocd-server/service.yaml @@ -15,6 +15,9 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/part-of: argocd app.kubernetes.io/component: {{ .Values.server.name }} +{{- if .Values.server.service.labels }} +{{- toYaml .Values.server.service.labels | nindent 4 }} +{{- end }} spec: type: {{ .Values.server.service.type }} ports: @@ -29,7 +32,12 @@ spec: selector: app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }} -{{- if and (eq .Values.server.service.type "LoadBalancer") .Values.server.service.loadBalancerSourceRanges }} +{{- if eq .Values.server.service.type "LoadBalancer" }} +{{- if .Values.server.service.loadBalancerIP }} + loadBalancerIP: {{ .Values.server.service.loadBalancerIP | quote }} +{{- end }} +{{- if .Values.server.service.loadBalancerSourceRanges }} loadBalancerSourceranges: {{ toYaml .Values.server.service.loadBalancerSourceRanges | indent 4 }} +{{- end }} {{- end -}} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index cbe7326f..37845070 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -10,7 +10,7 @@ installCRDs: true global: image: repository: argoproj/argocd - tag: v1.5.1 + tag: v1.5.2 imagePullPolicy: IfNotPresent securityContext: {} # runAsUser: 999 @@ -28,7 +28,7 @@ controller: image: repository: # argoproj/argocd - tag: # v1.5.1 + tag: # v1.5.2 imagePullPolicy: # IfNotPresent ## Argo controller commandline flags @@ -319,7 +319,7 @@ server: image: repository: # argoproj/argocd - tag: # v1.5.1 + tag: # v1.5.2 imagePullPolicy: # IfNotPresent ## Additional command line arguments to pass to argocd-server @@ -404,6 +404,7 @@ server: type: ClusterIP servicePortHttp: 80 servicePortHttps: 443 + loadBalancerIP: "" loadBalancerSourceRanges: [] ## Server metrics service configuration @@ -575,7 +576,7 @@ repoServer: image: repository: # argoproj/argocd - tag: # v1.5.1 + tag: # v1.5.2 imagePullPolicy: # IfNotPresent ## Additional command line arguments to pass to argocd-repo-server @@ -778,6 +779,9 @@ configs: # -----END RSA PRIVATE KEY----- secret: createSecret: true + ## Annotations to be added to argocd-secret + ## + annotations: {} # Webhook Configs githubSecret: "" diff --git a/charts/argo-events/Chart.yaml b/charts/argo-events/Chart.yaml index 818b0a7a..4d953bcf 100644 --- a/charts/argo-events/Chart.yaml +++ b/charts/argo-events/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: A Helm chart to install Argo-Events in k8s Cluster name: argo-events -version: 0.13.0 +version: 0.14.0 keywords: - argo-events - sensor-controller @@ -10,6 +10,6 @@ sources: - https://github.com/argoproj/argo-events maintainers: - name: VaibhavPage -appVersion: 0.13.0 +appVersion: 0.14.0 icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm diff --git a/charts/argo-events/README.md b/charts/argo-events/README.md index 74cf9e83..5dd63adb 100644 --- a/charts/argo-events/README.md +++ b/charts/argo-events/README.md @@ -3,6 +3,7 @@ This is a **community maintained** chart. It installs the [argo-events](https://github.com/argoproj/argo-events) application. This application comes packaged with: - Sensor Custom Resource Definition (See CRD Notes) - Gateway Custom Resource Definition (See CRD Notes) +- EventSource Custom Resource Definition (See CRD Notes) - Sensor Controller Deployment - Sensor Controller ConfigMap - Gateway Controller Deployment @@ -18,6 +19,7 @@ Some users would prefer to install the CRDs _outside_ of the chart. You can disa You can install the CRDs manually like so: ``` -kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.11/hack/k8s/manifests/sensor-crd.yaml -kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.11/hack/k8s/manifests/gateway-crd.yaml +kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.14.0/hack/k8s/manifests/sensor-crd.yaml +kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.14.0/hack/k8s/manifests/gateway-crd.yaml +kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.14.0/hack/k8s/manifests/event-source-crd.yaml ``` diff --git a/charts/argo-events/values.yaml b/charts/argo-events/values.yaml index 27322b72..4ac26da1 100644 --- a/charts/argo-events/values.yaml +++ b/charts/argo-events/values.yaml @@ -42,11 +42,11 @@ singleNamespace: true sensorController: name: sensor-controller image: sensor-controller - tag: v0.13.0 + tag: v0.14.0 replicaCount: 1 gatewayController: name: gateway-controller image: gateway-controller - tag: v0.13.0 + tag: v0.14.0 replicaCount: 1