Merge branch 'master' into repo-server-rbac
This commit is contained in:
commit
12d6dc2231
11 changed files with 37 additions and 18 deletions
|
@ -19,7 +19,7 @@ Clean-up:
|
|||
|
||||
```
|
||||
helm delete argo-cd --purge
|
||||
kubectl delete crd -l app.kubernetes.io/part-of=argo-cd
|
||||
kubectl delete crd -l app.kubernetes.io/part-of=argocd
|
||||
```
|
||||
|
||||
Minimally:
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v1
|
|||
appVersion: "1.2.4"
|
||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 1.0.7
|
||||
version: 1.0.8
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||
keywords:
|
||||
|
|
|
@ -51,7 +51,7 @@ $ helm install --name my-release argo/argo-cd
|
|||
| controller.args.statusProcessors | define the controller `--status-processors` | `"20"` |
|
||||
| controller.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
||||
| controller.containerPort | Controller listening port. | `8082` |
|
||||
| controller.extraArgs | Additional arguments for the controller. | `[]` |
|
||||
| controller.extraArgs | Additional arguments for the controller. A list of key:value pairs | `[]` |
|
||||
| controller.image.repository | Repository to use for the controller | `global.image.repository` |
|
||||
| controller.image.imagePullPolicy | Image pull policy for the controller | `global.image.imagePullPolicy` |
|
||||
| controller.image.tag | Tag to use for the controller | `global.image.tag` |
|
||||
|
@ -93,7 +93,7 @@ $ helm install --name my-release argo/argo-cd
|
|||
|-----|------|---------|-------------|
|
||||
| repoServer.affinity | Assign custom affinity rules to the deployment https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | `{}` |
|
||||
| repoServer.containerPort | Repo server port | `8081` |
|
||||
| repoServer.extraArgs | Additional arguments for the repo server | `[]` |
|
||||
| repoServer.extraArgs | Additional arguments for the repo server. A list of key:value pairs. | `[]` |
|
||||
| repoServer.image.repository | Repository to use for the repo server | `global.image.repository` |
|
||||
| repoServer.image.imagePullPolicy | Image pull policy for the repo server | `global.image.imagePullPolicy` |
|
||||
| repoServer.image.tag | Tag to use for the repo server | `global.image.tag` |
|
||||
|
@ -138,7 +138,7 @@ $ helm install --name my-release argo/argo-cd
|
|||
| server.certificate.issuer | Certificate manager issuer | `{}` |
|
||||
| server.config | URL for Argo CD | `{}` |
|
||||
| server.containerPort | Server container port. | `8080` |
|
||||
| server.extraArgs | Additional arguments for the server | `[]` |
|
||||
| server.extraArgs | Additional arguments for the server. A list of key:value pairs. | `[]` |
|
||||
| server.image.repository | Repository to use for the server | `global.image.repository` |
|
||||
| server.image.imagePullPolicy | Image pull policy for the server | `global.image.imagePullPolicy` |
|
||||
| server.image.tag | Tag to use for the repo server | `global.image.tag` |
|
||||
|
@ -216,7 +216,7 @@ $ helm install --name my-release argo/argo-cd
|
|||
|-----|------|---------|-------------|
|
||||
| redis.affinity | Assign custom affinity rules to the deployment https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | `{}` |
|
||||
| redis.containerPort | Redis container port | `6379` |
|
||||
| redis.enabled | Enable redis | `false` |
|
||||
| redis.enabled | Enable redis | `true` |
|
||||
| redis.image.imagePullPolicy | Redis imagePullPolicy | `"IfNotPresent"` |
|
||||
| redis.image.repository | Redis repository | `"redis"` |
|
||||
| redis.image.tag | Redis tag | `"5.0.3"` |
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{- if .Values.server.ingress.enabled -}}
|
||||
{{- $serviceName := include "argo-cd.server.fullname" . -}}
|
||||
{{- $servicePort := .Values.server.name -}}
|
||||
{{- $servicePort := .Values.server.service.servicePortHttp -}}
|
||||
{{- $paths := .Values.server.ingress.paths -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
|
|
|
@ -27,6 +27,7 @@ controller:
|
|||
logLevel: info
|
||||
|
||||
## Additional command line arguments to pass to argocd-controller
|
||||
## - key: value
|
||||
extraArgs: []
|
||||
|
||||
## Annotations to be added to controller pods
|
||||
|
@ -158,7 +159,7 @@ dex:
|
|||
|
||||
## Redis
|
||||
redis:
|
||||
enabled: false
|
||||
enabled: true
|
||||
name: redis
|
||||
|
||||
image:
|
||||
|
@ -196,8 +197,9 @@ server:
|
|||
# imagePullPolicy: IfNotPresent
|
||||
|
||||
## Additional command line arguments to pass to argocd-server
|
||||
## - key: value
|
||||
# extraArgs: []
|
||||
# - insecure
|
||||
# - insecure: true
|
||||
extraArgs: []
|
||||
|
||||
## Argo server log level
|
||||
|
@ -402,7 +404,7 @@ repoServer:
|
|||
# imagePullPolicy: IfNotPresent
|
||||
|
||||
## Additional command line arguments to pass to argocd-repo-server
|
||||
##
|
||||
## - key: value
|
||||
extraArgs: []
|
||||
|
||||
## Argo repoServer log level
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
description: A Helm chart to install Argo-Events in k8s Cluster
|
||||
name: argo-events
|
||||
version: 0.5.2
|
||||
version: 0.6.0
|
||||
keywords:
|
||||
- argo-events
|
||||
- sensor-controller
|
||||
|
@ -11,6 +11,6 @@ sources:
|
|||
maintainers:
|
||||
- name: VaibhavPage
|
||||
- name: magaldima
|
||||
appVersion: 0.10
|
||||
appVersion: 0.11
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
|
|
|
@ -14,3 +14,10 @@ This is a **community maintained** chart. It installs the [argo-events](https://
|
|||
## Notes on CRD Installation
|
||||
|
||||
Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set installCRD=false` when installing the chart.
|
||||
|
||||
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
|
||||
```
|
||||
|
|
6
charts/argo-events/ci/test-values.yaml
Normal file
6
charts/argo-events/ci/test-values.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
serviceAccount: argo-events-sa-test
|
||||
additionalSaNamespaces:
|
||||
- nsone
|
||||
- nstwo
|
||||
instanceID: test-argo-events
|
||||
singleNamespace: false
|
|
@ -11,9 +11,10 @@ subjects:
|
|||
name: {{ .Values.serviceAccount }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- if .Values.additionalSaNamespaces }}
|
||||
{{ $sa := .Values.serviceAccount }}
|
||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||
- kind: ServiceAccount
|
||||
name: {{ .Values.serviceAccount }}
|
||||
name: {{ $sa }}
|
||||
namespace: {{ $namespace }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
@ -51,6 +52,8 @@ rules:
|
|||
resources:
|
||||
- workflows
|
||||
- workflows/finalizers
|
||||
- workflowtemplates
|
||||
- workflowtemplates/finalizers
|
||||
- gateways
|
||||
- gateways/finalizers
|
||||
- sensors
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# All argo-events services are bound to the "argo-events" service account.
|
||||
# All argo-events services are bound to the "argo-events" service account.
|
||||
# In RBAC enabled setups, this SA is bound to specific roles.
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
|
@ -6,12 +6,13 @@ metadata:
|
|||
name: {{ .Values.serviceAccount }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- if .Values.additionalSaNamespaces }}
|
||||
{{ $sa := .Values.serviceAccount }}
|
||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ .Values.serviceAccount }}
|
||||
name: {{ $sa }}
|
||||
namespace: {{ $namespace }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -26,11 +26,11 @@ singleNamespace: true
|
|||
sensorController:
|
||||
name: sensor-controller
|
||||
image: sensor-controller
|
||||
tag: v0.10
|
||||
tag: v0.11
|
||||
replicaCount: 1
|
||||
|
||||
gatewayController:
|
||||
name: gateway-controller
|
||||
image: gateway-controller
|
||||
tag: v0.10
|
||||
tag: v0.11
|
||||
replicaCount: 1
|
||||
|
|
Loading…
Reference in a new issue