commit
3f7546c906
40 changed files with 11435 additions and 32 deletions
|
@ -8,3 +8,6 @@
|
||||||
|
|
||||||
# Argo Workflows
|
# Argo Workflows
|
||||||
/charts/argo @benjaminws
|
/charts/argo @benjaminws
|
||||||
|
|
||||||
|
# Argo Rollouts
|
||||||
|
/charts/argo-rollouts @cabrinha
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: "1.4.1"
|
appVersion: "1.4.2"
|
||||||
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.7.0
|
version: 1.8.3
|
||||||
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,7 +36,7 @@ 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.1"` |
|
| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v1.4.2"` |
|
||||||
| 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. |
|
||||||
|
@ -101,6 +101,11 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| 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.autoscaling.enabled | Enable Horizontal Pod Autoscaler (HPA) for the repo server | `false` |
|
||||||
|
| repoServer.autoscaling.minReplicas | Minimum number of replicas for the repo server HPA | `1` |
|
||||||
|
| repoServer.autoscaling.maxReplicas | Maximum number of replicas for the repo server HPA | `5` |
|
||||||
|
| repoServer.autoscaling.targetCPUUtilizationPercentage | Average CPU utilization percentage for the repo server HPA | `50` |
|
||||||
|
| repoServer.autoscaling.targetMemoryUtilizationPercentage | Average memory utilization percentage for the repo server HPA | `50` |
|
||||||
| repoServer.containerPort | Repo server port | `8081` |
|
| repoServer.containerPort | Repo server port | `8081` |
|
||||||
| repoServer.extraArgs | Additional arguments for the repo server. A list of key:value pairs. | `[]` |
|
| repoServer.extraArgs | Additional arguments for the repo server. A list of key:value pairs. | `[]` |
|
||||||
| repoServer.env | Environment variables for the repo server. | `[]` |
|
| repoServer.env | Environment variables for the repo server. | `[]` |
|
||||||
|
@ -129,6 +134,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| repoServer.readinessProbe.periodSeconds | int | `10` |
|
| repoServer.readinessProbe.periodSeconds | int | `10` |
|
||||||
| repoServer.readinessProbe.successThreshold | int | `1` |
|
| repoServer.readinessProbe.successThreshold | int | `1` |
|
||||||
| repoServer.readinessProbe.timeoutSeconds | int | `1` |
|
| repoServer.readinessProbe.timeoutSeconds | int | `1` |
|
||||||
|
| repoServer.replicas | The number of repo server pods to run | `1` |
|
||||||
| repoServer.resources | Resource limits and requests for the repo server pods. | `{}` |
|
| repoServer.resources | Resource limits and requests for the repo server pods. | `{}` |
|
||||||
| repoServer.service.annotations | Repo server service annotations. | `{}` |
|
| repoServer.service.annotations | Repo server service annotations. | `{}` |
|
||||||
| repoServer.service.labels | Repo server service labels. | `{}` |
|
| repoServer.service.labels | Repo server service labels. | `{}` |
|
||||||
|
@ -142,10 +148,16 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| server.affinity | Assign custom affinity rules to the deployment https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | `{}` |
|
| server.affinity | Assign custom affinity rules to the deployment https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | `{}` |
|
||||||
|
| server.autoscaling.enabled | Enable Horizontal Pod Autoscaler (HPA) for the server | `false` |
|
||||||
|
| server.autoscaling.minReplicas | Minimum number of replicas for the server HPA | `1` |
|
||||||
|
| server.autoscaling.maxReplicas | Maximum number of replicas for the server HPA | `5` |
|
||||||
|
| server.autoscaling.targetCPUUtilizationPercentage | Average CPU utilization percentage for the server HPA | `50` |
|
||||||
|
| server.autoscaling.targetMemoryUtilizationPercentage | Average memory utilization percentage for the server HPA | `50` |
|
||||||
| server.certificate.additionalHosts | Certificate manager additional hosts | `[]` |
|
| server.certificate.additionalHosts | Certificate manager additional hosts | `[]` |
|
||||||
| server.certificate.domain | Certificate manager domain | `"argocd.example.com"` |
|
| server.certificate.domain | Certificate manager domain | `"argocd.example.com"` |
|
||||||
| server.certificate.enabled | Enables a certificate manager certificate. | `false` |
|
| server.certificate.enabled | Enables a certificate manager certificate. | `false` |
|
||||||
| server.certificate.issuer | Certificate manager issuer | `{}` |
|
| server.certificate.issuer | Certificate manager issuer | `{}` |
|
||||||
|
| server.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
||||||
| server.config | [General Argo CD configuration](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#repositories) | See [values.yaml](values.yaml) |
|
| server.config | [General Argo CD configuration](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#repositories) | See [values.yaml](values.yaml) |
|
||||||
| server.containerPort | Server container port. | `8080` |
|
| server.containerPort | Server container port. | `8080` |
|
||||||
| server.extraArgs | Additional arguments for the server. A list of key:value pairs. | `[]` |
|
| server.extraArgs | Additional arguments for the server. A list of key:value pairs. | `[]` |
|
||||||
|
@ -183,6 +195,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| server.readinessProbe.periodSeconds | int | `10` |
|
| server.readinessProbe.periodSeconds | int | `10` |
|
||||||
| server.readinessProbe.successThreshold | int | `1` |
|
| server.readinessProbe.successThreshold | int | `1` |
|
||||||
| server.readinessProbe.timeoutSeconds | int | `1` |
|
| server.readinessProbe.timeoutSeconds | int | `1` |
|
||||||
|
| server.replicas | The number of server pods to run | `1` |
|
||||||
| server.resources | Resource limits and requests for the server | `{}` |
|
| server.resources | Resource limits and requests for the server | `{}` |
|
||||||
| server.service.annotations | Server service annotations | `{}` |
|
| server.service.annotations | Server service annotations | `{}` |
|
||||||
| server.service.labels | Server service labels | `{}` |
|
| server.service.labels | Server service labels | `{}` |
|
||||||
|
|
|
@ -68,7 +68,7 @@ spec:
|
||||||
name: {{ .Values.controller.name }}
|
name: {{ .Values.controller.name }}
|
||||||
{{- if .Values.controller.containerSecurityContext }}
|
{{- if .Values.controller.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.controller.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.controller.containerSecurityContext | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.env }}
|
{{- if .Values.controller.env }}
|
||||||
env:
|
env:
|
||||||
{{- toYaml .Values.controller.env | nindent 8 }}
|
{{- toYaml .Values.controller.env | nindent 8 }}
|
||||||
|
|
|
@ -17,7 +17,7 @@ metadata:
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
app.kubernetes.io/component: {{ .Values.controller.name }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.controller.name }}
|
- name: {{ .Values.controller.service.portName }}
|
||||||
port: {{ .Values.controller.service.port }}
|
port: {{ .Values.controller.service.port }}
|
||||||
targetPort: {{ .Values.controller.containerPort }}
|
targetPort: {{ .Values.controller.containerPort }}
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -16,7 +16,9 @@ spec:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
revisionHistoryLimit: 5
|
revisionHistoryLimit: 5
|
||||||
replicas: 1
|
{{- if (ne .Values.repoServer.autoscaling.enabled true) }}
|
||||||
|
replicas: {{ .Values.repoServer.replicas }}
|
||||||
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.repoServer.podAnnotations }}
|
{{- if .Values.repoServer.podAnnotations }}
|
||||||
|
@ -33,8 +35,8 @@ spec:
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
||||||
{{- if .Values.controller.podLabels }}
|
{{- if .Values.repoServer.podLabels }}
|
||||||
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
{{- toYaml .Values.repoServer.podLabels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
|
@ -61,7 +63,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.repoServer.containerSecurityContext }}
|
{{- if .Values.repoServer.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.repoServer.env }}
|
{{- if .Values.repoServer.env }}
|
||||||
env:
|
env:
|
||||||
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
||||||
|
|
33
charts/argo-cd/templates/argocd-repo-server/hpa.yaml
Normal file
33
charts/argo-cd/templates/argocd-repo-server/hpa.yaml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{{- if .Values.repoServer.autoscaling.enabled }}
|
||||||
|
apiVersion: autoscaling/v2beta1
|
||||||
|
kind: HorizontalPodAutoscaler
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}-hpa
|
||||||
|
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.repoServer.name }}
|
||||||
|
name: {{ template "argo-cd.repoServer.fullname" . }}-hpa
|
||||||
|
spec:
|
||||||
|
scaleTargetRef:
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
|
minReplicas: {{ .Values.repoServer.autoscaling.minReplicas }}
|
||||||
|
maxReplicas: {{ .Values.repoServer.autoscaling.maxReplicas }}
|
||||||
|
metrics:
|
||||||
|
{{- with .Values.repoServer.autoscaling.targetMemoryUtilizationPercentage }}
|
||||||
|
- type: Resource
|
||||||
|
resource:
|
||||||
|
name: memory
|
||||||
|
targetAverageUtilization: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.repoServer.autoscaling.targetCPUUtilizationPercentage }}
|
||||||
|
- type: Resource
|
||||||
|
resource:
|
||||||
|
name: cpu
|
||||||
|
targetAverageUtilization: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -17,7 +17,7 @@ metadata:
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: repo-server
|
- name: {{ .Values.repoServer.service.portName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: {{ .Values.repoServer.service.port }}
|
port: {{ .Values.repoServer.service.port }}
|
||||||
targetPort: repo-server
|
targetPort: repo-server
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.server.clusterAdminAccess.enabled }}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -30,4 +31,5 @@ rules:
|
||||||
- pods
|
- pods
|
||||||
- pods/log
|
- pods/log
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
{{- end }}
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.server.clusterAdminAccess.enabled }}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -16,4 +17,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ template "argo-cd.serverServiceAccountName" . }}
|
name: {{ template "argo-cd.serverServiceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{- end }}
|
|
@ -16,7 +16,9 @@ spec:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
revisionHistoryLimit: 5
|
revisionHistoryLimit: 5
|
||||||
replicas: 1
|
{{- if (ne .Values.server.autoscaling.enabled true) }}
|
||||||
|
replicas: {{ .Values.server.replicas }}
|
||||||
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.server.podAnnotations }}
|
{{- if .Values.server.podAnnotations }}
|
||||||
|
@ -33,8 +35,8 @@ spec:
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
app.kubernetes.io/component: {{ .Values.server.name }}
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
||||||
{{- if .Values.controller.podLabels }}
|
{{- if .Values.server.podLabels }}
|
||||||
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
{{- toYaml .Values.server.podLabels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
|
@ -69,14 +71,14 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.server.containerSecurityContext }}
|
{{- if .Values.server.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.server.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.server.containerSecurityContext | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.server.env }}
|
{{- if .Values.server.env }}
|
||||||
env:
|
env:
|
||||||
{{- toYaml .Values.server.env | nindent 8 }}
|
{{- toYaml .Values.server.env | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if .Values.server.volumeMounts }}
|
{{- if .Values.server.volumeMounts }}
|
||||||
{{- toYaml .Values.server.volumeMounts | nindent 10}}
|
{{- toYaml .Values.server.volumeMounts | nindent 8}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.configs.knownHosts }}
|
{{- if .Values.configs.knownHosts }}
|
||||||
- mountPath: /app/config/ssh
|
- mountPath: /app/config/ssh
|
||||||
|
|
33
charts/argo-cd/templates/argocd-server/hpa.yaml
Normal file
33
charts/argo-cd/templates/argocd-server/hpa.yaml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{{- if .Values.server.autoscaling.enabled }}
|
||||||
|
apiVersion: autoscaling/v2beta1
|
||||||
|
kind: HorizontalPodAutoscaler
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}-hpa
|
||||||
|
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 }}
|
||||||
|
name: {{ template "argo-cd.server.fullname" . }}-hpa
|
||||||
|
spec:
|
||||||
|
scaleTargetRef:
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
|
minReplicas: {{ .Values.server.autoscaling.minReplicas }}
|
||||||
|
maxReplicas: {{ .Values.server.autoscaling.maxReplicas }}
|
||||||
|
metrics:
|
||||||
|
{{- with .Values.server.autoscaling.targetMemoryUtilizationPercentage }}
|
||||||
|
- type: Resource
|
||||||
|
resource:
|
||||||
|
name: memory
|
||||||
|
targetAverageUtilization: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.server.autoscaling.targetCPUUtilizationPercentage }}
|
||||||
|
- type: Resource
|
||||||
|
resource:
|
||||||
|
name: cpu
|
||||||
|
targetAverageUtilization: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -10,7 +10,7 @@ metadata:
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
app.kubernetes.io/component: {{ .Values.dex.name }}
|
||||||
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
@ -25,17 +25,20 @@ spec:
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
app.kubernetes.io/component: {{ .Values.dex.name }}
|
||||||
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.global.securityContext }}
|
||||||
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: copyutil
|
- name: copyutil
|
||||||
image: {{ default .Values.global.image.repository .Values.dex.initImage.repository }}:{{ default .Values.global.image.tag .Values.dex.initImage.tag }}
|
image: {{ default .Values.global.image.repository .Values.dex.initImage.repository }}:{{ default .Values.global.image.tag .Values.dex.initImage.tag }}
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.dex.initImage.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.dex.initImage.imagePullPolicy }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.dex.resources | nindent 10 }}
|
{{- toYaml .Values.dex.resources | nindent 10 }}
|
||||||
{{- if .Values.dex.containerSecurityContext }}
|
{{- if .Values.dex.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.dex.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.dex.containerSecurityContext | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
command:
|
command:
|
||||||
- cp
|
- cp
|
||||||
- /usr/local/bin/argocd-util
|
- /usr/local/bin/argocd-util
|
||||||
|
@ -52,7 +55,7 @@ spec:
|
||||||
- rundex
|
- rundex
|
||||||
{{- if .Values.dex.containerSecurityContext }}
|
{{- if .Values.dex.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.dex.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.dex.containerSecurityContext | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.dex.env }}
|
{{- if .Values.dex.env }}
|
||||||
env:
|
env:
|
||||||
{{- toYaml .Values.dex.env | nindent 8 }}
|
{{- toYaml .Values.dex.env | nindent 8 }}
|
||||||
|
|
|
@ -10,7 +10,7 @@ installCRDs: true
|
||||||
global:
|
global:
|
||||||
image:
|
image:
|
||||||
repository: argoproj/argocd
|
repository: argoproj/argocd
|
||||||
tag: v1.4.1
|
tag: v1.4.2
|
||||||
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.4.1
|
tag: # v1.4.2
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Argo controller commandline flags
|
## Argo controller commandline flags
|
||||||
|
@ -86,6 +86,7 @@ controller:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
labels: {}
|
labels: {}
|
||||||
port: 8082
|
port: 8082
|
||||||
|
portName: https-controller
|
||||||
|
|
||||||
## Node selectors and tolerations for server scheduling to nodes with taints
|
## Node selectors and tolerations for server scheduling to nodes with taints
|
||||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||||
|
@ -268,9 +269,18 @@ redis:
|
||||||
server:
|
server:
|
||||||
name: server
|
name: server
|
||||||
|
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
autoscaling:
|
||||||
|
enabled: false
|
||||||
|
minReplicas: 1
|
||||||
|
maxReplicas: 5
|
||||||
|
targetCPUUtilizationPercentage: 50
|
||||||
|
targetMemoryUtilizationPercentage: 50
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: # argoproj/argocd
|
repository: # argoproj/argocd
|
||||||
tag: # v1.4.1
|
tag: # v1.4.2
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-server
|
## Additional command line arguments to pass to argocd-server
|
||||||
|
@ -505,13 +515,27 @@ server:
|
||||||
# orphanedResources: {}
|
# orphanedResources: {}
|
||||||
# roles: []
|
# roles: []
|
||||||
|
|
||||||
|
## Enable Admin ClusterRole resources.
|
||||||
|
## Enable if you would like to grant rights to ArgoCD to deploy to the local kuberentes cluster.
|
||||||
|
clusterAdminAccess:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
## Repo Server
|
## Repo Server
|
||||||
repoServer:
|
repoServer:
|
||||||
name: repo-server
|
name: repo-server
|
||||||
|
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
autoscaling:
|
||||||
|
enabled: false
|
||||||
|
minReplicas: 1
|
||||||
|
maxReplicas: 5
|
||||||
|
targetCPUUtilizationPercentage: 50
|
||||||
|
targetMemoryUtilizationPercentage: 50
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: # argoproj/argocd
|
repository: # argoproj/argocd
|
||||||
tag: # v1.4.1
|
tag: # v1.4.2
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-repo-server
|
## Additional command line arguments to pass to argocd-repo-server
|
||||||
|
@ -586,6 +610,7 @@ repoServer:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
labels: {}
|
labels: {}
|
||||||
port: 8081
|
port: 8081
|
||||||
|
portName: https-repo-server
|
||||||
|
|
||||||
## Repo server metrics service configuration
|
## Repo server metrics service configuration
|
||||||
metrics:
|
metrics:
|
||||||
|
|
11
charts/argo-rollouts/Chart.yaml
Normal file
11
charts/argo-rollouts/Chart.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: v1
|
||||||
|
appVersion: "0.7"
|
||||||
|
description: A Helm chart for Argo Rollouts
|
||||||
|
name: argo-rollouts
|
||||||
|
version: 0.1.1
|
||||||
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||||
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
maintainers:
|
||||||
|
- name: alexmt
|
||||||
|
- name: dthomson25
|
||||||
|
- name: jessesuen
|
39
charts/argo-rollouts/README.md
Normal file
39
charts/argo-rollouts/README.md
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
Argo Rollouts Chart
|
||||||
|
=============
|
||||||
|
A Helm chart for Argo Rollouts, progressive delivery for Kubernetes.
|
||||||
|
|
||||||
|
Current chart version is `0.1.0`
|
||||||
|
|
||||||
|
Source code can be found [here](https://github.com/argoproj/argo-rollouts)
|
||||||
|
|
||||||
|
## Additional Information
|
||||||
|
This is a **community maintained** chart. This chart installs [argo-rollouts](https://argoproj.github.io/argo-rollouts/), progressive delivery for Kubernetes.
|
||||||
|
|
||||||
|
The default installation is intended to be similar to the provided Argo Rollouts [releases](https://github.com/argoproj/argo-rollouts/releases).
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- Kubernetes 1.7+
|
||||||
|
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ helm repo add argo https://argoproj.github.io/argo-helm
|
||||||
|
$ helm install --name my-release argo/argo-rollouts
|
||||||
|
```
|
||||||
|
|
||||||
|
## Chart Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| clusterInstall | bool | `true` | |
|
||||||
|
| controller.component | string | `"rollouts-controller"` | |
|
||||||
|
| controller.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
|
| controller.image.repository | string | `"argoproj/argo-rollouts"` | |
|
||||||
|
| controller.image.tag | string | `"v0.7.0"` | |
|
||||||
|
| controller.name | string | `"argo-rollouts"` | |
|
||||||
|
| installCRDs | bool | `true` | |
|
||||||
|
| serviceAccount.name | string | `"argo-rollouts"` | |
|
32
charts/argo-rollouts/templates/_helpers.tpl
Normal file
32
charts/argo-rollouts/templates/_helpers.tpl
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-rollouts.name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
|
If release name contains chart name it will be used as a full name.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-rollouts.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride -}}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
|
{{- if contains $name .Release.Name -}}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-rollouts.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,77 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-aggregate-to-view
|
||||||
|
labels:
|
||||||
|
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
||||||
|
app.kubernetes.io/component: aggregate-cluster-role
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-aggregate-to-view
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- rollouts
|
||||||
|
- experiments
|
||||||
|
- analysistemplates
|
||||||
|
- analysisruns
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-aggregate-to-edit
|
||||||
|
labels:
|
||||||
|
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||||||
|
app.kubernetes.io/component: aggregate-cluster-role
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-aggregate-to-edit
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- rollouts
|
||||||
|
- experiments
|
||||||
|
- analysistemplates
|
||||||
|
- analysisruns
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-aggregate-to-admin
|
||||||
|
labels:
|
||||||
|
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
||||||
|
app.kubernetes.io/component: aggregate-cluster-role
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-aggregate-to-admin
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- rollouts
|
||||||
|
- experiments
|
||||||
|
- analysistemplates
|
||||||
|
- analysisruns
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
|
@ -0,0 +1,91 @@
|
||||||
|
{{- if .Values.clusterInstall }}
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-clusterrole
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-clusterrole
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- apps
|
||||||
|
resources:
|
||||||
|
- replicasets
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- services
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- patch
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- rollouts
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- analysisruns
|
||||||
|
- experiments
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- analysistemplates
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- batch
|
||||||
|
resources:
|
||||||
|
- jobs
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- events
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- apiGroups:
|
||||||
|
- networking.istio.io
|
||||||
|
resources:
|
||||||
|
- virtualservices
|
||||||
|
verbs:
|
||||||
|
- watch
|
||||||
|
- get
|
||||||
|
- update
|
||||||
|
{{- end }}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{{- if .Values.clusterInstall }}
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-clusterrolebinding
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-clusterrolebinding
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: {{ .Release.Name }}-clusterrole
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ .Values.serviceAccount.name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{- end }}
|
32
charts/argo-rollouts/templates/argo-rollouts-deployment.yaml
Normal file
32
charts/argo-rollouts/templates/argo-rollouts-deployment.yaml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||||
|
containers:
|
||||||
|
- command:
|
||||||
|
- "/bin/rollouts-controller"
|
||||||
|
image: "{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.controller.image.pullPolicy }}
|
||||||
|
name: {{ .Values.controller.name }}
|
||||||
|
volumeMounts:
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
|
volumes:
|
||||||
|
- name: tmp
|
||||||
|
emptyDir: {}
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-metrics
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: server
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-metrics
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: metrics
|
||||||
|
protocol: TCP
|
||||||
|
port: 8090
|
||||||
|
targetPort: 8090
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
87
charts/argo-rollouts/templates/argo-rollouts-role.yaml
Normal file
87
charts/argo-rollouts/templates/argo-rollouts-role.yaml
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-role
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-role
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- apps
|
||||||
|
resources:
|
||||||
|
- replicasets
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- services
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- patch
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- rollouts
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- analysisruns
|
||||||
|
- experiments
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- analysistemplates
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- batch
|
||||||
|
resources:
|
||||||
|
- jobs
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- events
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
verbs:
|
||||||
|
- get
|
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-role-binding
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-role-binding
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: Role
|
||||||
|
name: {{ .Release.Name }}-role
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ .Values.serviceAccount.name }}
|
8
charts/argo-rollouts/templates/argo-rollouts-sa.yaml
Normal file
8
charts/argo-rollouts/templates/argo-rollouts-sa.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.serviceAccount.name }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
2726
charts/argo-rollouts/templates/crds/analysis-run-crd.yaml
Normal file
2726
charts/argo-rollouts/templates/crds/analysis-run-crd.yaml
Normal file
File diff suppressed because it is too large
Load diff
2648
charts/argo-rollouts/templates/crds/analysis-template-crd.yaml
Normal file
2648
charts/argo-rollouts/templates/crds/analysis-template-crd.yaml
Normal file
File diff suppressed because it is too large
Load diff
2599
charts/argo-rollouts/templates/crds/experiment-crd.yaml
Normal file
2599
charts/argo-rollouts/templates/crds/experiment-crd.yaml
Normal file
File diff suppressed because it is too large
Load diff
2803
charts/argo-rollouts/templates/crds/rollout-crd.yaml
Normal file
2803
charts/argo-rollouts/templates/crds/rollout-crd.yaml
Normal file
File diff suppressed because it is too large
Load diff
14
charts/argo-rollouts/values.yaml
Normal file
14
charts/argo-rollouts/values.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
installCRDs: true
|
||||||
|
|
||||||
|
clusterInstall: true
|
||||||
|
|
||||||
|
controller:
|
||||||
|
name: argo-rollouts
|
||||||
|
component: rollouts-controller
|
||||||
|
image:
|
||||||
|
repository: argoproj/argo-rollouts
|
||||||
|
tag: v0.7.0
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
name: argo-rollouts
|
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "v2.4.3"
|
appVersion: "v2.4.3"
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.6.5
|
version: 0.6.8
|
||||||
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
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
Binary file not shown.
BIN
charts/argo/charts/minio-5.0.6.tgz
Normal file
BIN
charts/argo/charts/minio-5.0.6.tgz
Normal file
Binary file not shown.
16
charts/argo/crds/workflow-crd.yaml
Normal file
16
charts/argo/crds/workflow-crd.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: workflows.argoproj.io
|
||||||
|
annotations:
|
||||||
|
helm.sh/hook: crd-install
|
||||||
|
helm.sh/hook-delete-policy: before-hook-creation
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
version: v1alpha1
|
||||||
|
scope: Namespaced
|
||||||
|
names:
|
||||||
|
kind: Workflow
|
||||||
|
plural: workflows
|
||||||
|
shortNames:
|
||||||
|
- wf
|
16
charts/argo/crds/workflow-template-crd.yaml
Normal file
16
charts/argo/crds/workflow-template-crd.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: workflowtemplates.argoproj.io
|
||||||
|
annotations:
|
||||||
|
helm.sh/hook: crd-install
|
||||||
|
helm.sh/hook-delete-policy: before-hook-creation
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
version: v1alpha1
|
||||||
|
scope: Namespaced
|
||||||
|
names:
|
||||||
|
kind: WorkflowTemplate
|
||||||
|
plural: workflowtemplates
|
||||||
|
shortNames:
|
||||||
|
- wftmpl
|
|
@ -1,6 +1,6 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: minio
|
- name: minio
|
||||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||||
version: 1.3.3
|
version: 5.0.6
|
||||||
digest: sha256:d53e797d51304b850951bf6ecb57ad60d34cbccfa39a7d7bd0adf65435bbee78
|
digest: sha256:373b459c6232e9fd4dd86fa0af01e024372f686a0cdfbfed69d3cd41859e8ad4
|
||||||
generated: 2018-06-01T10:03:04.087865-04:00
|
generated: "2020-02-06T00:16:52.211425292Z"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: minio
|
- name: minio
|
||||||
version: 1.3.3
|
version: 5.0.6
|
||||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||||
condition: minio.install
|
condition: minio.install
|
||||||
|
|
|
@ -35,7 +35,7 @@ spec:
|
||||||
- name: {{ .Values.ui.podPortName }}
|
- name: {{ .Values.ui.podPortName }}
|
||||||
containerPort: 8001
|
containerPort: 8001
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if .Values.ui.forceNamespaceIsolation }}
|
{{- if .Values.ui.forceNamespaceIsolation }}
|
||||||
- name: FORCE_NAMESPACE_ISOLATION
|
- name: FORCE_NAMESPACE_ISOLATION
|
||||||
|
@ -52,4 +52,17 @@ spec:
|
||||||
value: /
|
value: /
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.ui.resources | nindent 12 }}
|
{{- toYaml .Values.ui.resources | nindent 12 }}
|
||||||
|
{{- with .Values.ui.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.ui.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.ui.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -52,3 +52,15 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.controller.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.controller.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.controller.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -88,6 +88,12 @@ controller:
|
||||||
enabled: false
|
enabled: false
|
||||||
# minAvailable: 1
|
# minAvailable: 1
|
||||||
# maxUnavailable: 1
|
# maxUnavailable: 1
|
||||||
|
## Node selectors and tolerations for server scheduling to nodes with taints
|
||||||
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||||
|
##
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
|
|
||||||
executor:
|
executor:
|
||||||
image:
|
image:
|
||||||
|
@ -126,6 +132,12 @@ ui:
|
||||||
enabled: false
|
enabled: false
|
||||||
# minAvailable: 1
|
# minAvailable: 1
|
||||||
# maxUnavailable: 1
|
# maxUnavailable: 1
|
||||||
|
## Node selectors and tolerations for server scheduling to nodes with taints
|
||||||
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||||
|
##
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
|
|
||||||
## Ingress configuration.
|
## Ingress configuration.
|
||||||
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
||||||
|
|
Loading…
Reference in a new issue