Merge branch 'master' into argo-affinity
This commit is contained in:
commit
ab1bb57d7f
16 changed files with 120 additions and 34 deletions
|
@ -1,8 +1,8 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: "1.4.0"
|
appVersion: "1.4.1"
|
||||||
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: 1.6.4
|
version: 1.7.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:
|
||||||
|
|
|
@ -36,11 +36,13 @@ 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.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.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.4.0"` |
|
| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v1.4.1"` |
|
||||||
| global.securityContext | Toggle and define securityContext | See [values.yaml](values.yaml) |
|
| global.securityContext | Toggle and define securityContext | See [values.yaml](values.yaml) |
|
||||||
| nameOverride | Provide a name in place of `argocd` | `"argocd"` |
|
| nameOverride | Provide a name in place of `argocd` | `"argocd"` |
|
||||||
| installCRDs | bool | `true` | Install CRDs if you are using Helm2. |
|
| installCRDs | bool | `true` | Install CRDs if you are using Helm2. |
|
||||||
| 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.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 | `""` |
|
| configs.secret.bitbucketSecret | BitBucket incoming webhook secret | `""` |
|
||||||
| configs.secret.createSecret | Create the argocd-secret. | `true` |
|
| configs.secret.createSecret | Create the argocd-secret. | `true` |
|
||||||
| configs.secret.githubSecret | GitHub incoming webhook secret | `""` |
|
| configs.secret.githubSecret | GitHub incoming webhook secret | `""` |
|
||||||
|
|
|
@ -35,7 +35,7 @@ data:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.configs.secret.argocdServerAdminPassword }}
|
{{- if .Values.configs.secret.argocdServerAdminPassword }}
|
||||||
admin.password: {{ .Values.configs.secret.argocdServerAdminPassword | b64enc }}
|
admin.password: {{ .Values.configs.secret.argocdServerAdminPassword | b64enc }}
|
||||||
admin.passwordMtime: {{ date "2006-01-02T15:04:05Z" now | b64enc }}
|
admin.passwordMtime: {{ default (date "2006-01-02T15:04:05Z" now) .Values.configs.secret.argocdServerAdminPasswordMtime | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range $key, $value := .Values.configs.secret.extra }}
|
{{- range $key, $value := .Values.configs.secret.extra }}
|
||||||
{{ $key }}: {{ $value | b64enc }}
|
{{ $key }}: {{ $value | b64enc }}
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{{- if .Values.server.certificate.enabled -}}
|
{{- if .Values.server.certificate.enabled -}}
|
||||||
|
{{- if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha2" }}
|
||||||
|
apiVersion: cert-manager.io/v1alpha2
|
||||||
|
{{- else }}
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
apiVersion: certmanager.k8s.io/v1alpha1
|
||||||
|
{{- end }}
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
|
|
|
@ -10,7 +10,7 @@ installCRDs: true
|
||||||
global:
|
global:
|
||||||
image:
|
image:
|
||||||
repository: argoproj/argocd
|
repository: argoproj/argocd
|
||||||
tag: v1.4.0
|
tag: v1.4.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext: {}
|
securityContext: {}
|
||||||
# runAsUser: 999
|
# runAsUser: 999
|
||||||
|
@ -23,7 +23,7 @@ controller:
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: # argoproj/argocd
|
repository: # argoproj/argocd
|
||||||
tag: # v1.3.6
|
tag: # v1.4.1
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Argo controller commandline flags
|
## Argo controller commandline flags
|
||||||
|
@ -270,7 +270,7 @@ server:
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: # argoproj/argocd
|
repository: # argoproj/argocd
|
||||||
tag: # v1.3.6
|
tag: # v1.4.1
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-server
|
## Additional command line arguments to pass to argocd-server
|
||||||
|
@ -511,7 +511,7 @@ repoServer:
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: # argoproj/argocd
|
repository: # argoproj/argocd
|
||||||
tag: # v1.3.6
|
tag: # v1.4.1
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-repo-server
|
## Additional command line arguments to pass to argocd-repo-server
|
||||||
|
@ -742,3 +742,5 @@ configs:
|
||||||
# Argo expects the password in the secret to be bcrypt hashed. You can create this hash with
|
# Argo expects the password in the secret to be bcrypt hashed. You can create this hash with
|
||||||
# `htpasswd -nbBC 10 "" $ARGO_PWD | tr -d ':\n' | sed 's/$2y/$2a/'`
|
# `htpasswd -nbBC 10 "" $ARGO_PWD | tr -d ':\n' | sed 's/$2y/$2a/'`
|
||||||
# argocdServerAdminPassword:
|
# argocdServerAdminPassword:
|
||||||
|
# Password modification time defaults to current time if not set
|
||||||
|
# argocdServerAdminPasswordMtime: "2006-01-02T15:04:05Z"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
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: 0.6.1
|
version: 0.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- argo-events
|
- argo-events
|
||||||
- sensor-controller
|
- sensor-controller
|
||||||
|
@ -11,6 +11,6 @@ sources:
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: VaibhavPage
|
- name: VaibhavPage
|
||||||
- name: magaldima
|
- name: magaldima
|
||||||
appVersion: 0.11
|
appVersion: 0.12
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
|
18
charts/argo-events/crds/event-source-crd.yml
Normal file
18
charts/argo-events/crds/event-source-crd.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: eventsources.argoproj.io
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
scope: Namespaced
|
||||||
|
names:
|
||||||
|
kind: EventSource
|
||||||
|
plural: eventsources
|
||||||
|
singular: eventsource
|
||||||
|
listKind: EventSourceList
|
||||||
|
shortNames:
|
||||||
|
- es
|
||||||
|
version: "v1alpha1"
|
||||||
|
|
||||||
|
|
16
charts/argo-events/crds/gateway-crd.yml
Normal file
16
charts/argo-events/crds/gateway-crd.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: gateways.argoproj.io
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
names:
|
||||||
|
kind: Gateway
|
||||||
|
listKind: GatewayList
|
||||||
|
plural: gateways
|
||||||
|
singular: gateway
|
||||||
|
shortNames:
|
||||||
|
- gw
|
||||||
|
scope: Namespaced
|
||||||
|
version: "v1alpha1"
|
17
charts/argo-events/crds/sensor-crd.yml
Normal file
17
charts/argo-events/crds/sensor-crd.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: sensors.argoproj.io
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
names:
|
||||||
|
kind: Sensor
|
||||||
|
listKind: SensorList
|
||||||
|
plural: sensors
|
||||||
|
singular: sensor
|
||||||
|
shortNames:
|
||||||
|
- sn
|
||||||
|
scope: Namespaced
|
||||||
|
version: "v1alpha1"
|
||||||
|
|
|
@ -24,20 +24,9 @@ kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: argo-events-role
|
name: argo-events-role
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
{{- if .Values.additionalServiceAccountRules }}
|
||||||
- apiextensions.k8s.io
|
{{ .Values.additionalServiceAccountRules | toYaml | nindent 2}}
|
||||||
- apiextensions.k8s.io/v1beta1
|
{{- end }}
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- delete
|
|
||||||
- deletecollection
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- patch
|
|
||||||
- update
|
|
||||||
- watch
|
|
||||||
resources:
|
|
||||||
- customresourcedefinitions
|
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- argoproj.io
|
- argoproj.io
|
||||||
verbs:
|
verbs:
|
||||||
|
@ -58,6 +47,8 @@ rules:
|
||||||
- gateways/finalizers
|
- gateways/finalizers
|
||||||
- sensors
|
- sensors
|
||||||
- sensors/finalizers
|
- sensors/finalizers
|
||||||
|
- eventsources
|
||||||
|
- eventsources/finalizers
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
|
@ -89,9 +80,7 @@ rules:
|
||||||
- patch
|
- patch
|
||||||
- delete
|
- delete
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- "apps/v1"
|
- "apps"
|
||||||
- "apps/v1beta2"
|
|
||||||
- "apps/v1beta1"
|
|
||||||
resources:
|
resources:
|
||||||
- deployments
|
- deployments
|
||||||
verbs:
|
verbs:
|
||||||
|
@ -102,3 +91,4 @@ rules:
|
||||||
- update
|
- update
|
||||||
- patch
|
- patch
|
||||||
- delete
|
- delete
|
||||||
|
|
||||||
|
|
17
charts/argo-events/templates/eventsource-crd.yaml
Normal file
17
charts/argo-events/templates/eventsource-crd.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{{- if .Values.installCRD }}
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: eventsources.argoproj.io
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
scope: Namespaced
|
||||||
|
names:
|
||||||
|
kind: EventSource
|
||||||
|
plural: eventsources
|
||||||
|
singular: eventsource
|
||||||
|
listKind: EventSourceList
|
||||||
|
shortNames:
|
||||||
|
- es
|
||||||
|
version: "v1alpha1"
|
||||||
|
{{- end }}
|
|
@ -25,9 +25,9 @@ spec:
|
||||||
image: "{{ .Values.registry }}/{{ .Values.gatewayController.image }}:{{ .Values.gatewayController.tag }}"
|
image: "{{ .Values.registry }}/{{ .Values.gatewayController.image }}:{{ .Values.gatewayController.tag }}"
|
||||||
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: GATEWAY_NAMESPACE
|
- name: NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
- name: GATEWAY_CONTROLLER_CONFIG_MAP
|
- name: CONTROLLER_CONFIG_MAP
|
||||||
value: {{ .Release.Name }}-{{ .Values.gatewayController.name }}-configmap
|
value: {{ .Release.Name }}-{{ .Values.gatewayController.name }}-configmap
|
||||||
|
|
|
@ -11,6 +11,8 @@ spec:
|
||||||
listKind: GatewayList
|
listKind: GatewayList
|
||||||
plural: gateways
|
plural: gateways
|
||||||
singular: gateway
|
singular: gateway
|
||||||
|
shortNames:
|
||||||
|
- gw
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
version: v1alpha1
|
version: "v1alpha1"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -25,9 +25,9 @@ spec:
|
||||||
image: "{{ .Values.registry }}/{{ .Values.sensorController.image }}:{{ .Values.sensorController.tag }}"
|
image: "{{ .Values.registry }}/{{ .Values.sensorController.image }}:{{ .Values.sensorController.tag }}"
|
||||||
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
imagePullPolicy: {{ .Values.imagePullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: SENSOR_NAMESPACE
|
- name: NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
- name: SENSOR_CONFIG_MAP
|
- name: CONTROLLER_CONFIG_MAP
|
||||||
value: {{ .Release.Name }}-{{ .Values.sensorController.name }}-configmap
|
value: {{ .Release.Name }}-{{ .Values.sensorController.name }}-configmap
|
||||||
|
|
|
@ -11,6 +11,8 @@ spec:
|
||||||
listKind: SensorList
|
listKind: SensorList
|
||||||
plural: sensors
|
plural: sensors
|
||||||
singular: sensor
|
singular: sensor
|
||||||
|
shortNames:
|
||||||
|
- sn
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
version: v1alpha1
|
version: v1alpha1
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -9,10 +9,26 @@ installCRD: true
|
||||||
|
|
||||||
# ServiceAccount to use for running controller.
|
# ServiceAccount to use for running controller.
|
||||||
serviceAccount: argo-events-sa
|
serviceAccount: argo-events-sa
|
||||||
|
|
||||||
# Create service accounts in additional namespaces specified
|
# Create service accounts in additional namespaces specified
|
||||||
# The SA will always be created in the release namespaces
|
# The SA will always be created in the release namespaces
|
||||||
additionalSaNamespaces: []
|
additionalSaNamespaces: []
|
||||||
# - argo-prod
|
# - argo-prod
|
||||||
|
additionalServiceAccountRules:
|
||||||
|
- apiGroups:
|
||||||
|
- apiextensions.k8s.io
|
||||||
|
- apiextensions.k8s.io/v1beta1
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
resources:
|
||||||
|
- customresourcedefinitions
|
||||||
|
|
||||||
instanceID: argo-events
|
instanceID: argo-events
|
||||||
|
|
||||||
|
@ -26,11 +42,11 @@ singleNamespace: true
|
||||||
sensorController:
|
sensorController:
|
||||||
name: sensor-controller
|
name: sensor-controller
|
||||||
image: sensor-controller
|
image: sensor-controller
|
||||||
tag: v0.11
|
tag: v0.12
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
gatewayController:
|
gatewayController:
|
||||||
name: gateway-controller
|
name: gateway-controller
|
||||||
image: gateway-controller
|
image: gateway-controller
|
||||||
tag: v0.11
|
tag: v0.12
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
Loading…
Reference in a new issue