3 Commits
0.5.0 ... 0.6.1

Author SHA1 Message Date
fc2dd72561 fix: add annotations for service and serviceAccount
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-19 11:51:34 +02:00
c336536512 feat: support pod priorityClassName
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-18 10:44:31 +02:00
0b482a45d0 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:48:54 +02:00
5 changed files with 22 additions and 3 deletions

View File

@ -11,7 +11,7 @@ steps:
- name: helm lint - name: helm lint
commands: commands:
- helm lint - helm lint
image: docker.io/volkerraschek/helm:3.8.0 image: docker.io/volkerraschek/helm:3.8.1
resources: resources:
limits: limits:
cpu: 50 cpu: 50
@ -71,7 +71,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: docker.io/volkerraschek/helm:3.8.0 image: docker.io/volkerraschek/helm:3.8.1
trigger: trigger:
event: event:

View File

@ -49,6 +49,9 @@ spec:
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "drone.fullname" . }} serviceAccountName: {{ include "drone.fullname" . }}

View File

@ -1,9 +1,13 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "drone.fullname" . }} {{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels: labels:
{{- include "drone.labels" . | nindent 4 }} {{- include "drone.labels" . | nindent 4 }}
name: {{ include "drone.fullname" . }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}
ports: ports:

View File

@ -1,4 +1,10 @@
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "drone.labels" . | nindent 4 }}
name: {{ include "drone.fullname" . }} name: {{ include "drone.fullname" . }}

View File

@ -16,6 +16,8 @@ fullnameOverride: ""
podAnnotations: {} podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000
@ -520,7 +522,11 @@ 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: service:
annotations: {}
type: ClusterIP type: ClusterIP
port: 80 port: 80