11 Commits

Author SHA1 Message Date
c93dc8ca8b feat: support pod priorityClassName
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-18 11:03:32 +02:00
f2e14a1dd5 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:53:31 +02:00
6fdb2437e8 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.31.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-02-09 19:34:18 +00:00
3adc1b3ceb fix(ci): use helm cm-push command to deploy chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 22:22:16 +01:00
25d96fe0c4 fix(ci): helm cm push
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 18:59:31 +01:00
0227c422a7 fix(ci): add package rules
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 16:40:42 +01:00
01e52d1029 Merge pull request 'chore(deps): update docker.io/volkerraschek/helm docker tag to v3.8.0' (#6) from renovate/docker.io-volkerraschek-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #6
2022-01-30 00:15:41 +00:00
67ede7fad8 chore(deps): update docker.io/volkerraschek/helm docker tag to v3.8.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-30 00:14:47 +00:00
23dd2efdd2 fix(ci): use volkerraschek/helm to deploy and lint chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 00:04:46 +01:00
8b6851937a Merge pull request 'chore(deps): update docker.io/alpine/helm docker tag to v3.8.0' (#5) from renovate/docker.io-alpine-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #5
2022-01-27 21:07:49 +00:00
db34d33bab chore(deps): update docker.io/alpine/helm docker tag to v3.8.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-27 10:04:20 +00:00
4 changed files with 32 additions and 9 deletions

View File

@ -11,7 +11,7 @@ steps:
- name: helm lint - name: helm lint
commands: commands:
- helm lint - helm lint
image: quay.io/helmpack/chart-testing:latest image: docker.io/volkerraschek/helm:3.8.1
resources: resources:
limits: limits:
cpu: 50 cpu: 50
@ -20,7 +20,7 @@ steps:
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.30.0 image: docker.io/volkerraschek/markdownlint:0.31.1
resources: resources:
limits: limits:
cpu: 50 cpu: 50
@ -63,7 +63,6 @@ platform:
steps: steps:
- name: release-helm-chart - name: release-helm-chart
commands: commands:
- helm plugin install https://github.com/chartmuseum/helm-push.git
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek - helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
- helm package --version ${DRONE_TAG} . - helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz volker.raschek - helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz volker.raschek
@ -72,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/alpine/helm:3.7.2 image: docker.io/volkerraschek/helm:3.8.1
trigger: trigger:
event: event:

View File

@ -3,6 +3,24 @@
"automergeStrategy": "merge-commit", "automergeStrategy": "merge-commit",
"automergeType": "pr", "automergeType": "pr",
"assignees": [ "volker.raschek" ], "assignees": [ "volker.raschek" ],
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/roundcube", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/roundcubemail", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "roundcubemail" ],
"matchManagers": [ "regex" ],
"matchUpdateTypes": [ "minor", "patch"]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [ "regexManagers": [
{ {
"description": "Update container image reference", "description": "Update container image reference",
@ -12,8 +30,9 @@
"matchStrings": [ "matchStrings": [
"appVersion: \"(?<currentValue>.*?)\"\\s+" "appVersion: \"(?<currentValue>.*?)\"\\s+"
], ],
"depNameTemplate": "docker.io/roundcube/roundcubemail", "datasourceTemplate": "docker",
"datasourceTemplate": "docker" "depNameTemplate": "roundcubemail",
"lookupNameTemplate": "docker.io/roundcube/roundcubemail"
} }
] ]
} }

View File

@ -47,13 +47,16 @@ spec:
port: http port: http
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.affinity }} {{- if .Values.podPriorityClassName }}
affinity: priorityClassName: {{ .Values.podPriorityClassName }}
{{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:

View File

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