diff --git a/src/chartmuseum/README.md b/src/chartmuseum/README.md index 36ce53e..5ee87a8 100644 --- a/src/chartmuseum/README.md +++ b/src/chartmuseum/README.md @@ -163,6 +163,7 @@ their default values. See values.yaml for all available options. | `env.secret.BASIC_AUTH_PASS` | Password for basic HTTP authentication | `` | | `env.secret.GOOGLE_CREDENTIALS_JSON` | GCP service account json file | `` | | `env.secret.CACHE_REDIS_PASSWORD` | Redis requirepass server configuration | `` | +| `command` | Override the default `ENTRYPOINT` (`["/chartmuseum"]`) of the container | `` | | `extraArgs` | Pass extra arguments to the chartmuseum binary | `[]` | | `probes.liveness.initialDelaySeconds` | Delay before liveness probe is initiated | `5` | | `probes.liveness.periodSeconds` | How often (in seconds) to perform the liveness probe | `10` | diff --git a/src/chartmuseum/templates/deployment.yaml b/src/chartmuseum/templates/deployment.yaml index 19da0e7..0d91f0e 100644 --- a/src/chartmuseum/templates/deployment.yaml +++ b/src/chartmuseum/templates/deployment.yaml @@ -108,6 +108,10 @@ spec: - name: AUTH_CERT_PATH value: /var/keys/public-key.pem {{ end }} +{{- if .Values.command }} + command: +{{ toYaml .Values.command | indent 8 }} +{{- end }} args: - --port=8080 {{- if eq .Values.env.open.STORAGE "local" }} diff --git a/src/chartmuseum/values.yaml b/src/chartmuseum/values.yaml index 96f91ed..0d46704 100644 --- a/src/chartmuseum/values.yaml +++ b/src/chartmuseum/values.yaml @@ -1,3 +1,4 @@ +command: extraArgs: [] # - --storage-timestamp-tolerance 1s replicaCount: 1