21 Commits

Author SHA1 Message Date
8b9c92b6c7 fix: make probes configurable 2024-09-24 17:59:53 +02:00
3316c53142 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.16.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-09-16 16:11:15 +00:00
4302d21881 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.15.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-08-15 10:06:22 +00:00
2f252a30d0 fix(ci): bump chart version manually
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 16:31:33 +02:00
27b291646f fix(ci): check of chart version
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 16:30:58 +02:00
e1b7f97791 fix(ci): check of chart version
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 16:27:29 +02:00
d105c38ca7 fix(ci): check of chart version
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 16:21:55 +02:00
71ff345a95 chore(deps): update drone docker tag to v2.24.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 16:21:03 +02:00
a6d13cdef1 fix: bump to drone 2.23.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-30 16:19:46 +02:00
07b70c7325 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.41.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-27 13:11:48 +00:00
5db5e4c4aa chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.15.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-16 10:04:15 +00:00
32bf0d41e7 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.40.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-07 22:16:14 +00:00
110f92f55f chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-04-11 07:08:21 +00:00
ea6ec4a875 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-03-22 20:05:23 +00:00
4a6f32da86 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-23 11:06:06 +00:00
b2e4debec0 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-15 18:32:55 +00:00
ffbe7db0f9 fix: support changing numbers of replicas
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-04 22:24:45 +01:00
217eab774b chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.39.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-01-28 23:07:13 +00:00
55fc508141 fix(renovate): remove automerge options
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 14:55:28 +01:00
5ffaf6f664 Merge pull request 'chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.0' (#61) from renovate/git.cryptic.systems-volker.raschek-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 11:09:44 +00:00
570868f771 chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.14.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-01-21 11:08:59 +00:00
5 changed files with 66 additions and 48 deletions

View File

@ -17,7 +17,7 @@ steps:
- name: helm lint - name: helm lint
commands: commands:
- helm lint - helm lint
image: git.cryptic.systems/volker.raschek/helm:3.13.3 image: git.cryptic.systems/volker.raschek/helm:3.16.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.38.0 image: git.cryptic.systems/volker.raschek/markdownlint:0.41.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.13.3 image: git.cryptic.systems/volker.raschek/helm:3.16.1
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@ -85,6 +85,7 @@ steps:
- name: release-helm-chart - name: release-helm-chart
commands: commands:
- grep -o 'version:"${DRONE_TAG}"' Chart.yaml || echo "Version ${DRONE_TAG} not found in Chart.yaml"
- helm repo add drone https://charts.cryptic.systems/drone - helm repo add drone https://charts.cryptic.systems/drone
- helm package --version ${DRONE_TAG} . - helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone - helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone
@ -93,7 +94,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.13.3 image: git.cryptic.systems/volker.raschek/helm:3.16.1
resources: resources:
limits: limits:
cpu: 150 cpu: 150

View File

@ -2,8 +2,8 @@ apiVersion: v2
name: drone name: drone
description: Drone Helm chart for Kubernetes description: Drone Helm chart for Kubernetes
type: application type: application
version: "0.7.1" version: "0.8.2"
appVersion: "2.22.0" appVersion: "2.24.0"
icon: https://readme.drone.io/logo.svg icon: https://readme.drone.io/logo.svg
keywords: keywords:

View File

@ -1,7 +1,5 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"assignees": [ "volker.raschek" ], "assignees": [ "volker.raschek" ],
"labels": [ "renovate" ], "labels": [ "renovate" ],
"packageRules": [ "packageRules": [

View File

@ -5,6 +5,11 @@ metadata:
labels: labels:
{{- include "drone.labels" . | nindent 4 }} {{- include "drone.labels" . | nindent 4 }}
spec: spec:
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
replicas: 1
{{- else }}
replicas: {{ .Values.replicas | default 1 }}
{{- end }}
selector: selector:
matchLabels: matchLabels:
{{- include "drone.selectorLabels" . | nindent 6 }} {{- include "drone.selectorLabels" . | nindent 6 }}
@ -17,20 +22,21 @@ spec:
labels: labels:
{{- include "drone.selectorLabels" . | nindent 8 }} {{- include "drone.selectorLabels" . | nindent 8 }}
spec: spec:
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
envFrom: envFrom:
- secretRef: - secretRef:
name: {{ include "drone.fullname" . }} name: {{ include "drone.fullname" . }}
securityContext:
{{- 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: 80 containerPort: 80
@ -38,14 +44,15 @@ spec:
- name: https - name: https
containerPort: 443 containerPort: 443
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 }}
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }} {{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: {{ default "/data/database.sqlite" .Values.config.DRONE_DATABASE_DATASOURCE | dir }} mountPath: {{ default "/data/database.sqlite" .Values.config.DRONE_DATABASE_DATASOURCE | dir }}
@ -58,10 +65,6 @@ spec:
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -19,13 +19,11 @@ podPriorityClassName: ""
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000
securityContext: {} # Increasing the amount of replicas has no effect, when `DRONE_DATABASE_DRIVER`
# capabilities: # is set to sqlite3.
# drop: replicas: 1
# - ALL
# readOnlyRootFilesystem: true affinity: {}
# runAsNonRoot: true
# runAsUser: 1000
config: {} config: {}
# DRONE_BITBUCKET_CLIENT_ID # DRONE_BITBUCKET_CLIENT_ID
@ -520,22 +518,6 @@ config: {}
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/ # https://docs.drone.io/server/reference/drone-webhook-skip-verify/
# DRONE_WEBHOOK_SKIP_VERIFY: "" # DRONE_WEBHOOK_SKIP_VERIFY: ""
serviceAccount:
annotations: {}
service:
annotations: {}
# externalIPs: []
# externalTrafficPolicy: "Cluster"
# loadBalancerClass: ""
# loadBalancerIP: ""
# loadBalancerSourceRanges: []
# internalTrafficPolicy: "Cluster"
name: http
targetPort: 80
type: ClusterIP
port: 80
ingress: ingress:
enabled: false enabled: false
className: "nginx" className: "nginx"
@ -553,6 +535,20 @@ ingress:
hosts: hosts:
- "your-hostname" - "your-hostname"
livenessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
nodeSelector: {}
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
@ -565,12 +561,32 @@ resources: {}
# cpu: 100m # cpu: 100m
# memory: 128Mi # memory: 128Mi
nodeSelector: {} securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
serviceAccount:
annotations: {}
service:
annotations: {}
# externalIPs: []
# externalTrafficPolicy: "Cluster"
# loadBalancerClass: ""
# loadBalancerIP: ""
# loadBalancerSourceRanges: []
# internalTrafficPolicy: "Cluster"
name: http
targetPort: 80
type: ClusterIP
port: 80
tolerations: [] tolerations: []
affinity: {}
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or # persistence is only required when config.DATABASE_DRIVER is sqlite3 or
# undefined. # undefined.
persistence: persistence: