17 Commits
0.7.0 ... 0.7.3

Author SHA1 Message Date
fdb778896c [Close #11] fix: remove obsolete replicaCount
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 19:46:27 +02:00
cb6a5021c8 Merge pull request #10 from pi3ch/master
All checks were successful
continuous-integration/drone/push Build is passing
support for ephemeral storage
2022-09-10 19:41:53 +02:00
d26bfdea13 support for ephemeral storage 2022-09-10 10:16:50 +10:00
6547aee98e chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-30 18:51:42 +02:00
b774b08dec chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-21 16:54:15 +02:00
207c9d702b Merge pull request 'chore(deps): update dependency drone to v2.12.1' (#21) from renovate/drone-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #21
2022-07-26 15:53:24 +00:00
df7bb19b58 chore(deps): update dependency drone to v2.12.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-07-26 17:51:30 +02:00
bf13179edf fix(ci): use docker.io/volkerraschek/drone-email:0.1.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 17:49:53 +02:00
efcab94223 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 13:12:54 +02:00
e26ba6e113 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-23 10:41:06 +02:00
5a3deb5f55 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-18 11:13:12 +02:00
d549a4b637 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-14 18:31:06 +02:00
dc03395b66 fix(ci): helm template
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-26 18:15:49 +02:00
bc9a4ea4a4 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-24 08:53:42 +02:00
8be7f9c4da fix(ci): resource limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 11:26:26 +02:00
4a0ec52f12 fix: bump chart version
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-16 20:44:56 +02:00
d968cce280 fix: decouple service from drone config 2022-05-16 20:38:45 +02:00
6 changed files with 61 additions and 40 deletions

View File

@ -11,36 +11,47 @@ steps:
- name: helm lint
commands:
- helm lint
image: docker.io/volkerraschek/helm:3.8.2
image: docker.io/volkerraschek/helm:3.9.4
resources:
limits:
cpu: 50
memory: 50M
cpu: 150
memory: 150M
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.31.1
image: docker.io/volkerraschek/markdownlint:0.32.2
resources:
limits:
cpu: 50
memory: 50M
cpu: 150
memory: 150M
- name: helm template
commands:
- helm template .
image: docker.io/volkerraschek/helm:3.9.4
resources:
limits:
cpu: 150
memory: 150M
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 50
memory: 25M
cpu: 150
memory: 150M
when:
status:
- changed
@ -52,7 +63,6 @@ trigger:
- tag
---
kind: pipeline
type: kubernetes
name: release
@ -71,7 +81,11 @@ steps:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: docker.io/volkerraschek/helm:3.8.2
image: docker.io/volkerraschek/helm:3.9.4
resources:
limits:
cpu: 150
memory: 150M
trigger:
event:

View File

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

View File

@ -28,9 +28,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe:
httpGet:
scheme: {{ .Values.config.DRONE_SERVER_PROTO | upper | default "HTTP" }}
scheme: HTTP
path: /healthz
port: {{ .Values.config.DRONE_SERVER_PROTO | default "http" }}
port: http
ports:
- name: http
containerPort: 80
@ -40,9 +40,9 @@ spec:
protocol: TCP
readinessProbe:
httpGet:
scheme: {{ .Values.config.DRONE_SERVER_PROTO | upper | default "HTTP" }}
scheme: HTTP
path: /healthz
port: {{ .Values.config.DRONE_SERVER_PROTO | default "http" }}
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}

View File

@ -1,3 +1,4 @@
{{- if .Values.persistence.enabled -}}
{{ if and (.Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3") (not .Values.persistence.existingClaim) }}
apiVersion: v1
kind: PersistentVolumeClaim
@ -15,3 +16,4 @@ spec:
storageClassName: {{ .Values.persistence.storageClass | quote }}
{{- end }}
{{- end }}
{{- end -}}

View File

@ -29,8 +29,8 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.config.DRONE_SERVER_PROTO | default "http" }}
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: {{ .Values.config.DRONE_SERVER_PROTO | default "http" }}
name: {{ .Values.service.name }}
selector:
{{- include "drone.selectorLabels" . | nindent 4 }}

View File

@ -2,8 +2,6 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: docker.io/drone/drone
pullPolicy: IfNotPresent
@ -18,10 +16,12 @@ podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {}
podSecurityContext:
{}
# fsGroup: 2000
securityContext: {}
securityContext:
{}
# capabilities:
# drop:
# - ALL
@ -29,7 +29,8 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000
config: {}
config:
{}
# DRONE_BITBUCKET_CLIENT_ID
# String value. Configures the Bitbucket OAuth client id. This is used to
# authorize access to Bitbucket on behalf of a Drone user.
@ -533,6 +534,8 @@ service:
# loadBalancerIP: ""
# loadBalancerSourceRanges: []
# internalTrafficPolicy: "Cluster"
name: http
targetPort: 80
type: ClusterIP
port: 80
@ -544,16 +547,17 @@ ingress:
# cert-manager.io/issuer:
# kubernetes.io/tls-acme: "true"
hosts:
- host: "your-hostname"
paths:
- path: /
pathType: ImplementationSpecific
- host: "your-hostname"
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: "your-tls-secret"
hosts:
- "your-hostname"
- secretName: "your-tls-secret"
hosts:
- "your-hostname"
resources: {}
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
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@ -574,11 +578,12 @@ affinity: {}
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
# undefined.
persistence:
enabled: true
annotation: {}
# existingClaim:
size: 5Gi
accessModes:
- ReadWriteOnce
- ReadWriteOnce
labels: {}
# storageClass: