You've already forked drone-charts
Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
207c9d702b | |||
df7bb19b58 | |||
bf13179edf
|
|||
efcab94223 | |||
e26ba6e113 | |||
5a3deb5f55 | |||
d549a4b637 | |||
dc03395b66
|
|||
bc9a4ea4a4 | |||
8be7f9c4da
|
|||
4a0ec52f12
|
|||
d968cce280
|
46
.drone.yml
46
.drone.yml
@ -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.2
|
||||
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.1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
memory: 50M
|
||||
cpu: 150
|
||||
memory: 150M
|
||||
|
||||
- name: helm template
|
||||
commands:
|
||||
- helm template .
|
||||
image: docker.io/volkerraschek/helm:3.9.2
|
||||
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.2
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
memory: 150M
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
@ -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:
|
||||
|
@ -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" }}
|
||||
|
@ -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 }}
|
||||
|
@ -533,6 +533,8 @@ service:
|
||||
# loadBalancerIP: ""
|
||||
# loadBalancerSourceRanges: []
|
||||
# internalTrafficPolicy: "Cluster"
|
||||
name: http
|
||||
targetPort: 80
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
|
||||
|
Reference in New Issue
Block a user