Entrypoint can be configured now
Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com>
This commit is contained in:
parent
0845b60480
commit
20adf98d86
5 changed files with 20 additions and 5 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.6.4
|
|||
kubeVersion: ">=1.22.0-0"
|
||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 5.26.0
|
||||
version: 5.26.1
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
sources:
|
||||
|
@ -23,5 +23,5 @@ dependencies:
|
|||
condition: redis-ha.enabled
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: Added
|
||||
description: ConfigMap for Config Management Plugins using sidecar approach
|
||||
- kind: changed
|
||||
description: entrypoint usage can be configured
|
||||
|
|
|
@ -394,6 +394,8 @@ NAME: my-release
|
|||
| global.affinity.nodeAffinity.type | string | `"hard"` | Default node affinity rules. Either: `none`, `soft` or `hard` |
|
||||
| global.affinity.podAntiAffinity | string | `"soft"` | Default pod anti-affinity rules. Either: `none`, `soft` or `hard` |
|
||||
| global.deploymentAnnotations | object | `{}` | Annotations for the all deployed Deployments |
|
||||
| global.entrypoint.entrypoint | string | `"entrypoint.sh"` | The entrypoint to use for the containers. |
|
||||
| global.entrypoint.useImplicit | bool | `false` | Implicitly use the docker image's entrypoint. This requires the image to have ENTRYPOINT set properly |
|
||||
| global.hostAliases | list | `[]` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
|
||||
| global.image.imagePullPolicy | string | `"IfNotPresent"` | If defined, a imagePullPolicy applied to all Argo CD deployments |
|
||||
| global.image.repository | string | `"quay.io/argoproj/argocd"` | If defined, a repository applied to all Argo CD deployments |
|
||||
|
|
|
@ -51,8 +51,11 @@ spec:
|
|||
- name: {{ .Values.applicationSet.name }}
|
||||
image: {{ default .Values.global.image.repository .Values.applicationSet.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.applicationSet.image.tag }}
|
||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.applicationSet.image.imagePullPolicy }}
|
||||
{{- if not .Values.global.entrypoint.useImplicit }}
|
||||
command:
|
||||
- entrypoint.sh
|
||||
- {{ .Values.global.entrypoint.entrypoint | quote }}
|
||||
{{- end }}
|
||||
args:
|
||||
- argocd-applicationset-controller
|
||||
- --metrics-addr=:{{ .Values.applicationSet.containerPorts.metrics }}
|
||||
- --probe-addr=:{{ .Values.applicationSet.containerPorts.probe }}
|
||||
|
|
|
@ -56,8 +56,10 @@ spec:
|
|||
- name: {{ .Values.repoServer.name }}
|
||||
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
|
||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
||||
{{- if not .Values.global.entrypoint.useImplicit }}
|
||||
command:
|
||||
- entrypoint.sh
|
||||
- {{ .Values.global.entrypoint.entrypoint | quote }}
|
||||
{{- end }}
|
||||
args:
|
||||
- argocd-repo-server
|
||||
- --port={{ .Values.repoServer.containerPorts.server }}
|
||||
|
|
8
charts/argo-cd/values.yaml
Executable file → Normal file
8
charts/argo-cd/values.yaml
Executable file → Normal file
|
@ -132,6 +132,14 @@ global:
|
|||
# topologyKey: topology.kubernetes.io/zone
|
||||
# whenUnsatisfiable: DoNotSchedule
|
||||
|
||||
# POD entrypoint configuration
|
||||
entrypoint:
|
||||
# -- Implicitly use the docker image's entrypoint. This requires the image to have
|
||||
# ENTRYPOINT set properly
|
||||
useImplicit: false
|
||||
# -- The entrypoint to use for the containers.
|
||||
entrypoint: "entrypoint.sh"
|
||||
|
||||
|
||||
## Argo Configs
|
||||
configs:
|
||||
|
|
Loading…
Reference in a new issue