Compare commits

..

No commits in common. "master" and "0.7.14" have entirely different histories.

5 changed files with 46 additions and 70 deletions

View File

@ -17,7 +17,7 @@ steps:
- name: helm lint
commands:
- helm lint
image: git.cryptic.systems/volker.raschek/helm:3.16.1
image: git.cryptic.systems/volker.raschek/helm:3.13.3
resources:
limits:
cpu: 150
@ -26,7 +26,7 @@ steps:
- name: markdown lint
commands:
- markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.41.0
image: git.cryptic.systems/volker.raschek/markdownlint:0.38.0
resources:
limits:
cpu: 150
@ -35,7 +35,7 @@ steps:
- name: helm template
commands:
- helm template .
image: git.cryptic.systems/volker.raschek/helm:3.16.1
image: git.cryptic.systems/volker.raschek/helm:3.13.3
resources:
limits:
cpu: 150
@ -85,7 +85,6 @@ steps:
- name: release-helm-chart
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 package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone
@ -94,7 +93,7 @@ steps:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: git.cryptic.systems/volker.raschek/helm:3.16.1
image: git.cryptic.systems/volker.raschek/helm:3.13.3
resources:
limits:
cpu: 150

View File

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

View File

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

View File

@ -5,11 +5,6 @@ metadata:
labels:
{{- include "drone.labels" . | nindent 4 }}
spec:
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
replicas: 1
{{- else }}
replicas: {{ .Values.replicas | default 1 }}
{{- end }}
selector:
matchLabels:
{{- include "drone.selectorLabels" . | nindent 6 }}
@ -22,21 +17,20 @@ spec:
labels:
{{- include "drone.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
envFrom:
- secretRef:
name: {{ include "drone.fullname" . }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
httpGet:
scheme: HTTP
path: /healthz
port: http
ports:
- name: http
containerPort: 80
@ -44,15 +38,14 @@ spec:
- name: https
containerPort: 443
protocol: TCP
{{- with .Values.readinessProbe }}
readinessProbe:
{{- toYaml . | nindent 12 }}
{{- end }}
httpGet:
scheme: HTTP
path: /healthz
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts:
- name: data
mountPath: {{ default "/data/database.sqlite" .Values.config.DRONE_DATABASE_DATASOURCE | dir }}
@ -65,8 +58,8 @@ spec:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
{{- with .Values.initContainers }}
initContainers:
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}

View File

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