Merged upstream branch
This commit is contained in:
commit
e9c6ad3abf
11 changed files with 39 additions and 20 deletions
|
@ -19,7 +19,7 @@ Clean-up:
|
||||||
|
|
||||||
```
|
```
|
||||||
helm delete argo-cd --purge
|
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:
|
Minimally:
|
||||||
|
@ -32,7 +32,7 @@ kubectl port-forward service/argo-cd-argocd-server -n argocd 8080:443
|
||||||
In a new terminal:
|
In a new terminal:
|
||||||
|
|
||||||
```
|
```
|
||||||
argocd version
|
argocd version --server localhost:8080 --insecure
|
||||||
# reset password to 'Password1!'
|
# reset password to 'Password1!'
|
||||||
kubectl -n argocd patch secret argocd-secret \
|
kubectl -n argocd patch secret argocd-secret \
|
||||||
-p '{"stringData": {
|
-p '{"stringData": {
|
||||||
|
|
|
@ -51,7 +51,7 @@ $ helm install --name my-release argo/argo-cd
|
||||||
| controller.args.statusProcessors | define the controller `--status-processors` | `"20"` |
|
| controller.args.statusProcessors | define the controller `--status-processors` | `"20"` |
|
||||||
| controller.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
| controller.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
||||||
| controller.containerPort | Controller listening port. | `8082` |
|
| 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.repository | Repository to use for the controller | `global.image.repository` |
|
||||||
| controller.image.imagePullPolicy | Image pull policy for the controller | `global.image.imagePullPolicy` |
|
| controller.image.imagePullPolicy | Image pull policy for the controller | `global.image.imagePullPolicy` |
|
||||||
| controller.image.tag | Tag to use for the controller | `global.image.tag` |
|
| 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.affinity | Assign custom affinity rules to the deployment https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | `{}` |
|
||||||
| repoServer.containerPort | Repo server port | `8081` |
|
| 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.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.imagePullPolicy | Image pull policy for the repo server | `global.image.imagePullPolicy` |
|
||||||
| repoServer.image.tag | Tag to use for the repo server | `global.image.tag` |
|
| 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.certificate.issuer | Certificate manager issuer | `{}` |
|
||||||
| server.config | URL for Argo CD | `{}` |
|
| server.config | URL for Argo CD | `{}` |
|
||||||
| server.containerPort | Server container port. | `8080` |
|
| 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.repository | Repository to use for the server | `global.image.repository` |
|
||||||
| server.image.imagePullPolicy | Image pull policy for the server | `global.image.imagePullPolicy` |
|
| 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` |
|
| 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.affinity | Assign custom affinity rules to the deployment https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | `{}` |
|
||||||
| redis.containerPort | Redis container port | `6379` |
|
| redis.containerPort | Redis container port | `6379` |
|
||||||
| redis.enabled | Enable redis | `false` |
|
| redis.enabled | Enable redis | `true` |
|
||||||
| redis.image.imagePullPolicy | Redis imagePullPolicy | `"IfNotPresent"` |
|
| redis.image.imagePullPolicy | Redis imagePullPolicy | `"IfNotPresent"` |
|
||||||
| redis.image.repository | Redis repository | `"redis"` |
|
| redis.image.repository | Redis repository | `"redis"` |
|
||||||
| redis.image.tag | Redis tag | `"5.0.3"` |
|
| redis.image.tag | Redis tag | `"5.0.3"` |
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
In order to access the server UI you have the following options:
|
In order to access the server UI you have the following options:
|
||||||
|
|
||||||
1. kubectl port-forward service/argo-cd-argocd-server -n argocd 8080:443
|
1. kubectl port-forward service/{{include "argo-cd.fullname" . }}-server -n {{ .Release.Namespace }} 8080:443
|
||||||
|
|
||||||
and then open the browser on http://localhost:8080 and accept the certificate
|
and then open the browser on http://localhost:8080 and accept the certificate
|
||||||
|
|
||||||
|
@ -12,4 +12,4 @@ In order to access the server UI you have the following options:
|
||||||
After reaching the UI the first time you can login with username: admin and the password will be the
|
After reaching the UI the first time you can login with username: admin and the password will be the
|
||||||
name of the server pod. You can get the pod name by running:
|
name of the server pod. You can get the pod name by running:
|
||||||
|
|
||||||
kubectl get pods -n argocd -l app.kubernetes.io/name={{ include "argo-cd.name" . }}-server -o name | cut -d'/' -f 2
|
kubectl get pods -n {{ .Release.Namespace }} -l app.kubernetes.io/name={{ include "argo-cd.name" . }}-server -o name | cut -d'/' -f 2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{- if .Values.server.ingress.enabled -}}
|
{{- if .Values.server.ingress.enabled -}}
|
||||||
{{- $serviceName := include "argo-cd.server.fullname" . -}}
|
{{- $serviceName := include "argo-cd.server.fullname" . -}}
|
||||||
{{- $servicePort := .Values.server.name -}}
|
{{- $servicePort := .Values.server.service.servicePortHttp -}}
|
||||||
{{- $paths := .Values.server.ingress.paths -}}
|
{{- $paths := .Values.server.ingress.paths -}}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
|
|
@ -27,6 +27,7 @@ controller:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-controller
|
## Additional command line arguments to pass to argocd-controller
|
||||||
|
## - key: value
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
||||||
## Annotations to be added to controller pods
|
## Annotations to be added to controller pods
|
||||||
|
@ -158,7 +159,7 @@ dex:
|
||||||
|
|
||||||
## Redis
|
## Redis
|
||||||
redis:
|
redis:
|
||||||
enabled: false
|
enabled: true
|
||||||
name: redis
|
name: redis
|
||||||
|
|
||||||
image:
|
image:
|
||||||
|
@ -196,8 +197,9 @@ server:
|
||||||
# imagePullPolicy: IfNotPresent
|
# imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-server
|
## Additional command line arguments to pass to argocd-server
|
||||||
|
## - key: value
|
||||||
# extraArgs: []
|
# extraArgs: []
|
||||||
# - insecure
|
# - insecure: true
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
||||||
## Argo server log level
|
## Argo server log level
|
||||||
|
@ -402,7 +404,7 @@ repoServer:
|
||||||
# imagePullPolicy: IfNotPresent
|
# imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-repo-server
|
## Additional command line arguments to pass to argocd-repo-server
|
||||||
##
|
## - key: value
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
||||||
## Argo repoServer log level
|
## Argo repoServer log level
|
||||||
|
|
|
@ -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.5.2
|
version: 0.6.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.10
|
appVersion: 0.11
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
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
|
## 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.
|
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 }}
|
name: {{ .Values.serviceAccount }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- if .Values.additionalSaNamespaces }}
|
{{- if .Values.additionalSaNamespaces }}
|
||||||
|
{{ $sa := .Values.serviceAccount }}
|
||||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ .Values.serviceAccount }}
|
name: {{ $sa }}
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -51,6 +52,8 @@ rules:
|
||||||
resources:
|
resources:
|
||||||
- workflows
|
- workflows
|
||||||
- workflows/finalizers
|
- workflows/finalizers
|
||||||
|
- workflowtemplates
|
||||||
|
- workflowtemplates/finalizers
|
||||||
- gateways
|
- gateways
|
||||||
- gateways/finalizers
|
- gateways/finalizers
|
||||||
- sensors
|
- sensors
|
||||||
|
|
|
@ -6,12 +6,13 @@ metadata:
|
||||||
name: {{ .Values.serviceAccount }}
|
name: {{ .Values.serviceAccount }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- if .Values.additionalSaNamespaces }}
|
{{- if .Values.additionalSaNamespaces }}
|
||||||
|
{{ $sa := .Values.serviceAccount }}
|
||||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.serviceAccount }}
|
name: {{ $sa }}
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -26,11 +26,11 @@ singleNamespace: true
|
||||||
sensorController:
|
sensorController:
|
||||||
name: sensor-controller
|
name: sensor-controller
|
||||||
image: sensor-controller
|
image: sensor-controller
|
||||||
tag: v0.10
|
tag: v0.11
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
gatewayController:
|
gatewayController:
|
||||||
name: gateway-controller
|
name: gateway-controller
|
||||||
image: gateway-controller
|
image: gateway-controller
|
||||||
tag: v0.10
|
tag: v0.11
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
Loading…
Reference in a new issue