29 Commits

Author SHA1 Message Date
b3509480e4 chore(deps): update dependency postfixadmin-fetchmail to v0.2.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-15 06:22:12 +02:00
6f103ce5c3 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-15 06:11:53 +02:00
bf0c4e6140 fix: values config error
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-14 21:02:19 +02:00
12a66ded5d fix(ci): helm template
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-26 18:18:07 +02:00
92a38ca993 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:59:03 +02:00
8cf0a76dbf fix(ci): resource limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 11:29:19 +02:00
5fe6f6a9eb chore(deps): update dependency docker.io/volkerraschek/helm to v3.8.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-11 14:11:42 +02:00
680321f8ef 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:30:15 +02:00
9e2deacbd2 feat: support pod priorityClassName
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-18 11:01:14 +02:00
fb6f3501cd 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:51:40 +02:00
1c58fdac86 chore(deps): update dependency docker.io/volkerraschek/helm to v3.8.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-11 12:11:46 +01:00
d7fc9719fd 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:33:09 +00:00
7f8b84fc1d 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:10 +01:00
7b4f59c0fe fix(ci): helm cm push
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 18:57:29 +01:00
c3f463823f fix(ci): add package rules
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 16:40:08 +01:00
d545d5d416 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:03:25 +01:00
e1742f40db Merge pull request 'chore(deps): update docker.io/alpine/helm docker tag to v3.8.0' (#4) from renovate/docker.io-alpine-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2022-01-27 13:44:37 +00:00
383fa2734f 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:02:30 +00:00
83b9f27381 fix(ci): deploy helm chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-25 22:06:22 +01:00
6c0aa4f013 Merge pull request 'chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.30.0' (#2) from renovate/docker.io-volkerraschek-markdownlint-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #2
2022-01-25 20:43:14 +00:00
9c129447ca Merge pull request 'chore(deps): update docker.io/volkerraschek/postfixadmin-fetchmail docker tag to v0.1.3' (#3) from renovate/docker.io-volkerraschek-postfixadmin-fetchmail-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2022-01-25 20:40:38 +00:00
0b3dd35328 chore(deps): update docker.io/volkerraschek/postfixadmin-fetchmail docker tag to v0.1.3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-25 20:39:34 +00:00
4bab4ed3a4 fix: upgrade to app v0.1.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 23:34:50 +01:00
a25f14f8df chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.30.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-11-20 12:05:43 +00:00
9890f3c3cd Merge pull request 'chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.29.0' (#1) from renovate/docker.io-volkerraschek-markdownlint-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1
2021-10-28 20:52:20 +00:00
279f3481b0 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.29.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-10-28 22:50:00 +02:00
bdb7f88e8c fix(renovate): init
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-28 22:24:54 +02:00
c2dd4485c3 fix(ci): only sync master branch
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-12 18:32:58 +02:00
83b17de66c fix: add .editorconfig 2021-10-12 18:32:44 +02:00
7 changed files with 90 additions and 48 deletions

View File

@ -11,20 +11,29 @@ steps:
- name: helm lint
commands:
- helm lint
image: quay.io/helmpack/chart-testing:latest
image: docker.io/volkerraschek/helm:3.9.1
resources:
limits:
cpu: 50
memory: 50M
cpu: 150
memory: 150M
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.28.1
image: docker.io/volkerraschek/markdownlint:0.31.1
resources:
limits:
cpu: 50
memory: 50M
cpu: 150
memory: 150M
- name: helm template
commands:
- helm template .
image: docker.io/volkerraschek/helm:3.9.1
resources:
limits:
cpu: 150
memory: 150M
- name: email-notification
environment:
@ -39,8 +48,8 @@ steps:
image: docker.io/drillster/drone-email:latest
resources:
limits:
cpu: 50
memory: 25M
cpu: 150
memory: 150M
when:
status:
- changed
@ -54,48 +63,30 @@ trigger:
---
kind: pipeline
type: kubernetes
name: sync
name: release
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/postfixadmin-fetchmail-charts.git
force: true
ssh_key:
from_secret: ssh_key
- name: email-notification
- name: release-helm-chart
commands:
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
- helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz volker.raschek
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
HELM_REPO_PASSWORD:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: docker.io/volkerraschek/helm:3.9.1
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
cpu: 150
memory: 150M
trigger:
event:
- push
- tag
repo:
- volker.raschek/postfixadmin-fetchmail-charts

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

View File

@ -2,8 +2,8 @@ apiVersion: v2
name: postfixadmin-fetchmail
description: Helm chart for postfixadmin's fetchmail
type: application
version: 0.1.1
appVersion: 0.1.1
version: "0.1.2"
appVersion: "0.2.0"
icon: https://a.fsdn.com/allura/p/postfixadmin/icon?1620415130
keywords:
@ -13,7 +13,7 @@ keywords:
sources:
- https://github.com/volker-raschek/postfixadmin-fetchmail-charts
- https://hub.docker.com/volkerraschek/postfixadmin-fetchmail
- https://hub.docker.com/r/volkerraschek/postfixadmin-fetchmail
maintainers:
- name: Markus Pesch

38
renovate.json Normal file
View File

@ -0,0 +1,38 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"assignees": [ "volker.raschek" ],
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/postfixadmin-fetchmail", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/postfixadmin-fetchmail", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "postfixadmin-fetchmail" ],
"matchManagers": [ "regex" ],
"matchUpdateTypes": [ "minor", "patch"]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update container image reference",
"fileMatch": [
"^Chart\\.yaml$"
],
"matchStrings": [
"appVersion: \"(?<currentValue>.*?)\"\\s+"
],
"datasourceTemplate": "docker",
"depNameTemplate": "postfixadmin-fetchmail",
"lookupNameTemplate": "docker.io/volkerraschek/postfixadmin-fetchmail"
}
]
}

View File

@ -42,6 +42,9 @@ spec:
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
restartPolicy: OnFailure
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 12 }}

View File

@ -5,10 +5,6 @@ metadata:
type: Opaque
stringData:
{{- if not (hasKey .Values "config") -}}
{{- $_ := set .Values "config" dict -}}
{{- end -}}
{{/* SETUP CONFIG */}}
{{ range $key, $value := .Values.config }}
{{ upper $key}}: {{ quote $value }}

View File

@ -23,12 +23,14 @@ serviceAccount:
podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {}
# fsGroup: 2000
schedule: "*/10 * * * *"
config:
config: {}
# DATABASE_TYPE
# Currently will be only postgres, mysql and mariadb supported. About the
# environment variable DATABASE_TYPE can the backend type defined. The value