Compare commits

..

15 Commits

Author SHA1 Message Date
443cd3a2c2
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.44.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-01 17:02:07 +00:00
f9af378a43
chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.17.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-30 19:12:43 +00:00
c52be5d3f2 Merge pull request 'chore(deps): update drone docker tag to v2.25.0' (#74) from renovate/drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #74
2024-12-31 14:40:30 +00:00
f8e6fec6ef
chore(deps): update drone docker tag to v2.25.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-17 14:08:59 +00:00
359e764d3d
chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.16.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-17 11:10:54 +00:00
6f5edc6fe7
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.43.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-03 14:12:33 +00:00
fe3d4d6fce
chore(deps): update git.cryptic.systems/volker.raschek/helm docker tag to v3.16.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-02 11:10:02 +00:00
0113277d85
chore(deps): update git.cryptic.systems/volker.raschek/git docker tag to v1.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-11-25 23:11:18 +00:00
f9f221157b
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.42.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-14 19:12:02 +00:00
288a23c9fe
feat: add option to define initContainers 2024-09-24 18:23:41 +02:00
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
4 changed files with 63 additions and 47 deletions

View File

@ -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,11 +81,11 @@ 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:
- grep --only-matching 'version:"${DRONE_TAG}"' Chart.yaml || echo "Version ${DRONE_TAG} not found in Chart.yaml" - 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
@ -94,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.15.0 image: git.cryptic.systems/volker.raschek/helm:3.17.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.8.1" version: "0.8.2"
appVersion: "2.24.0" appVersion: "2.25.0"
icon: https://readme.drone.io/logo.svg icon: https://readme.drone.io/logo.svg
keywords: keywords:

View File

@ -22,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
@ -43,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 }}
@ -63,8 +65,8 @@ spec:
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- with .Values.affinity }} {{- with .Values.initContainers }}
affinity: initContainers:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}

View File

@ -23,13 +23,7 @@ podSecurityContext: {}
# is set to sqlite3. # is set to sqlite3.
replicas: 1 replicas: 1
securityContext: {} affinity: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
config: {} config: {}
# DRONE_BITBUCKET_CLIENT_ID # DRONE_BITBUCKET_CLIENT_ID
@ -524,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"
@ -557,6 +535,22 @@ ingress:
hosts: hosts:
- "your-hostname" - "your-hostname"
initContainers: []
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
@ -569,12 +563,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: