parent
2ffd0d8ebf
commit
7dff7e23ae
4 changed files with 42 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.2.4"
|
appVersion: "1.2.4"
|
||||||
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.0.3
|
version: 1.0.4
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -2,7 +2,7 @@ Argo CD Chart
|
||||||
======
|
======
|
||||||
A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
|
|
||||||
Current chart version is `1.0.2`
|
Current chart version is `1.0.4`
|
||||||
|
|
||||||
Source code can be found [here](https://argoproj.github.io/argo-cd/)
|
Source code can be found [here](https://argoproj.github.io/argo-cd/)
|
||||||
|
|
||||||
|
@ -147,6 +147,8 @@ $ helm install --name my-release argo/argo-cd
|
||||||
| server.ingress.hosts | List of ingress hosts | `[]` |
|
| server.ingress.hosts | List of ingress hosts | `[]` |
|
||||||
| server.ingress.labels | Additional ingress labels. | `{}` |
|
| server.ingress.labels | Additional ingress labels. | `{}` |
|
||||||
| server.ingress.tls | Ingress TLS configuration. | `[]` |
|
| server.ingress.tls | Ingress TLS configuration. | `[]` |
|
||||||
|
| server.route.enabled | Enable a OpenShift route for the server | `false` |
|
||||||
|
| server.route.hostname | Hostname of OpenShift route | `""` |
|
||||||
| server.livenessProbe.failureThreshold | int | `3` |
|
| server.livenessProbe.failureThreshold | int | `3` |
|
||||||
| server.livenessProbe.initialDelaySeconds | int | `10` |
|
| server.livenessProbe.initialDelaySeconds | int | `10` |
|
||||||
| server.livenessProbe.periodSeconds | int | `10` |
|
| server.livenessProbe.periodSeconds | int | `10` |
|
||||||
|
|
30
charts/argo-cd/templates/argocd-server/route.yaml
Normal file
30
charts/argo-cd/templates/argocd-server/route.yaml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{{- if .Values.server.route.enabled -}}
|
||||||
|
apiVersion: route.openshift.io/v1
|
||||||
|
kind: Route
|
||||||
|
metadata:
|
||||||
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
||||||
|
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/part-of: argocd
|
||||||
|
app.kubernetes.io/component: {{ .Values.server.name }}
|
||||||
|
{{- with .Values.server.route.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml . | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
host: {{ .Values.server.route.hostname | quote }}
|
||||||
|
subdomain: ''
|
||||||
|
to:
|
||||||
|
kind: Service
|
||||||
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
|
weight: 100
|
||||||
|
port:
|
||||||
|
targetPort: https
|
||||||
|
tls:
|
||||||
|
termination: passthrough
|
||||||
|
insecureEdgeTerminationPolicy: None
|
||||||
|
wildcardPolicy: None
|
||||||
|
{{- end }}
|
|
@ -304,6 +304,14 @@ server:
|
||||||
# hosts:
|
# hosts:
|
||||||
# - argocd.example.com
|
# - argocd.example.com
|
||||||
|
|
||||||
|
# Create a OpenShift Route with SSL passthrough for UI and CLI
|
||||||
|
# Consider setting 'hostname' e.g. https://argocd.apps-crc.testing/ using your Default Ingress Controller Domain
|
||||||
|
# Find your domain with: kubectl describe --namespace=openshift-ingress-operator ingresscontroller/default | grep Domain:
|
||||||
|
# If 'hostname' is an empty string "" OpenShift will create a hostname for you.
|
||||||
|
route:
|
||||||
|
enabled: false
|
||||||
|
hostname: ""
|
||||||
|
|
||||||
## ArgoCD config
|
## ArgoCD config
|
||||||
## reference https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cm.yaml
|
## reference https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cm.yaml
|
||||||
config:
|
config:
|
||||||
|
|
Loading…
Reference in a new issue