Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
14987d7265 | |||
f9c03e8be4 | |||
055bcadd16 | |||
45d2cf7183 | |||
07c2bc6b72 | |||
9a58ec7806 | |||
55bb771c26 | |||
e709d68cb8 | |||
1c22e90d85 | |||
6ef34f5f60 | |||
76593b2109 | |||
cb9612fe74 |
12
.drone.yml
12
.drone.yml
@ -12,12 +12,12 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: helm lint
|
- name: helm lint
|
||||||
commands:
|
commands:
|
||||||
- helm lint
|
- helm lint
|
||||||
image: git.cryptic.systems/volker.raschek/helm:3.15.0
|
image: git.cryptic.systems/volker.raschek/helm:3.17.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -26,7 +26,7 @@ steps:
|
|||||||
- name: markdown lint
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.41.0
|
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -35,7 +35,7 @@ steps:
|
|||||||
- name: helm template
|
- name: helm template
|
||||||
commands:
|
commands:
|
||||||
- helm template .
|
- helm template .
|
||||||
image: git.cryptic.systems/volker.raschek/helm:3.15.0
|
image: git.cryptic.systems/volker.raschek/helm:3.17.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -81,7 +81,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: release-helm-chart
|
- name: release-helm-chart
|
||||||
commands:
|
commands:
|
||||||
@ -93,7 +93,7 @@ steps:
|
|||||||
from_secret: helm_repo_password
|
from_secret: helm_repo_password
|
||||||
HELM_REPO_USERNAME:
|
HELM_REPO_USERNAME:
|
||||||
from_secret: helm_repo_username
|
from_secret: helm_repo_username
|
||||||
image: git.cryptic.systems/volker.raschek/helm:3.15.0
|
image: git.cryptic.systems/volker.raschek/helm:3.17.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
|
@ -3,7 +3,7 @@ name: athens-proxy
|
|||||||
description: Athens proxy server for golang
|
description: Athens proxy server for golang
|
||||||
type: application
|
type: application
|
||||||
version: "0.1.0"
|
version: "0.1.0"
|
||||||
appVersion: "v0.14.1"
|
appVersion: "v0.15.4"
|
||||||
icon: https://github.com/gomods/athens/blob/main/docs/static/banner.png?raw=true
|
icon: https://github.com/gomods/athens/blob/main/docs/static/banner.png?raw=true
|
||||||
|
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -26,20 +26,18 @@ spec:
|
|||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
{{- with .Values.livenessProbe }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
{{- toYaml . | nindent 12 }}
|
||||||
scheme: HTTP
|
{{- end }}
|
||||||
path: /healthz
|
|
||||||
port: http
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.config.ATHENS_PORT | default 3000 }}
|
containerPort: {{ .Values.config.ATHENS_PORT | default 3000 }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- with .Values.readinessProbe }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
{{- toYaml . | nindent 12 }}
|
||||||
scheme: HTTP
|
{{- end }}
|
||||||
path: /healthz
|
|
||||||
port: http
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
{{- with .Values.extraVolumeMounts }}
|
{{- with .Values.extraVolumeMounts }}
|
||||||
|
12
values.yaml
12
values.yaml
@ -102,6 +102,12 @@ config: {}
|
|||||||
# MY_S3_BUCKET_NAME:
|
# MY_S3_BUCKET_NAME:
|
||||||
# PROXY_FORCE_SSL:
|
# PROXY_FORCE_SSL:
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
scheme: HTTP
|
||||||
|
path: /healthz
|
||||||
|
port: http
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
@ -137,6 +143,12 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- "your-hostname"
|
- "your-hostname"
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
scheme: HTTP
|
||||||
|
path: /healthz
|
||||||
|
port: http
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# 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
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
Loading…
x
Reference in New Issue
Block a user