Compare commits

...

2 Commits

Author SHA1 Message Date
1c22e90d85
feat: add option to customize probes
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2024-09-24 21:24:02 +02:00
6ef34f5f60
chore(deps): update gomods/athens docker tag to v0.15.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-16 19:04:14 +00:00
3 changed files with 19 additions and 9 deletions

View File

@ -3,7 +3,7 @@ name: athens-proxy
description: Athens proxy server for golang
type: application
version: "0.1.0"
appVersion: "v0.14.1"
appVersion: "v0.15.1"
icon: https://github.com/gomods/athens/blob/main/docs/static/banner.png?raw=true
keywords:

View File

@ -26,20 +26,18 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.livenessProbe }}
livenessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.config.ATHENS_PORT | default 3000 }}
protocol: TCP
{{- with .Values.readinessProbe }}
readinessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.extraVolumeMounts }}

View File

@ -102,6 +102,12 @@ config: {}
# MY_S3_BUCKET_NAME:
# PROXY_FORCE_SSL:
livenessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
replicaCount: 1
serviceAccount:
@ -137,6 +143,12 @@ ingress:
hosts:
- "your-hostname"
readinessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little