5 Commits

Author SHA1 Message Date
f6e9e6bce7 Merge pull request #3 from vickunwu/patch-1
Some checks failed
continuous-integration/drone/push Build is failing
[fix]utilize the 'replicaCount' variable in Values
2022-05-10 08:29:36 +02:00
vickunwu
c2188e6838 [fix]utilize the 'replicaCount' variable in Values 2022-05-09 16:55:54 +08:00
e41ee3cd47 fix(drone): remove sync via drone - use instead gitea push feature
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-19 22:29:22 +02:00
010a453c7c feat: support pod priorityClassName
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-18 10:58:55 +02:00
86174ea6dd chore(deps): update dependency docker.io/volkerraschek/helm to v3.8.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-14 21:49:25 +02:00
3 changed files with 8 additions and 53 deletions

View File

@@ -11,7 +11,7 @@ steps:
- name: helm lint
commands:
- helm lint
image: docker.io/volkerraschek/helm:3.8.0
image: docker.io/volkerraschek/helm:3.8.1
resources:
limits:
cpu: 50
@@ -71,61 +71,10 @@ steps:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: docker.io/volkerraschek/helm:3.8.0
image: docker.io/volkerraschek/helm:3.8.1
trigger:
event:
- tag
repo:
- volker.raschek/drone-runner-charts
---
kind: pipeline
type: kubernetes
name: sync
platform:
os: linux
arch: amd64
steps:
- name: github
image: docker.io/appleboy/drone-git-push:latest
resources:
limits:
cpu: 50
memory: 25M
settings:
branch: master
remote: ssh://git@github.com/volker-raschek/drone-runner-charts.git
force: true
ssh_key:
from_secret: ssh_key
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- push
repo:
- volker.raschek/drone-runner-charts

View File

@@ -5,6 +5,7 @@ metadata:
labels:
{{- include "droneRunner.labels" . | nindent 4 }}
spec:
replicas: {{- .Values.replicaCount | default 1 | quote }}
selector:
matchLabels:
{{- include "droneRunner.selectorLabels" . | nindent 6 }}
@@ -49,6 +50,9 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
serviceAccountName: {{ include "droneRunner.fullname" . }}
{{- with .Values.tolerations }}
tolerations:

View File

@@ -16,6 +16,8 @@ fullnameOverride: ""
podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {}
# fsGroup: 2000