You've already forked postfixadmin-fetchmail-charts
Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
b3509480e4 | |||
6f103ce5c3 | |||
bf0c4e6140
|
|||
12a66ded5d
|
|||
92a38ca993 | |||
8cf0a76dbf
|
|||
5fe6f6a9eb | |||
680321f8ef
|
|||
9e2deacbd2
|
|||
fb6f3501cd | |||
1c58fdac86 | |||
d7fc9719fd | |||
7f8b84fc1d
|
|||
7b4f59c0fe
|
|||
c3f463823f
|
|||
d545d5d416
|
|||
e1742f40db | |||
383fa2734f |
84
.drone.yml
84
.drone.yml
@ -11,20 +11,29 @@ 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.9.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 50M
|
memory: 150M
|
||||||
|
|
||||||
- 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: 150
|
||||||
memory: 50M
|
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
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -39,8 +48,8 @@ steps:
|
|||||||
image: docker.io/drillster/drone-email:latest
|
image: docker.io/drillster/drone-email:latest
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 25M
|
memory: 150M
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
@ -52,7 +61,6 @@ trigger:
|
|||||||
- tag
|
- tag
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: release
|
name: release
|
||||||
@ -63,7 +71,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,61 +79,14 @@ 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.9.1
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 150
|
||||||
|
memory: 150M
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
repo:
|
repo:
|
||||||
- volker.raschek/postfixadmin-fetchmail-charts
|
- volker.raschek/postfixadmin-fetchmail-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/postfixadmin-fetchmail-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/postfixadmin-fetchmail-charts
|
|
||||||
|
@ -3,7 +3,7 @@ name: postfixadmin-fetchmail
|
|||||||
description: Helm chart for postfixadmin's fetchmail
|
description: Helm chart for postfixadmin's fetchmail
|
||||||
type: application
|
type: application
|
||||||
version: "0.1.2"
|
version: "0.1.2"
|
||||||
appVersion: "0.1.3"
|
appVersion: "0.2.0"
|
||||||
icon: https://a.fsdn.com/allura/p/postfixadmin/icon?1620415130
|
icon: https://a.fsdn.com/allura/p/postfixadmin/icon?1620415130
|
||||||
|
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -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/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": [
|
"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/volkerraschek/postfixadmin-fetchmail",
|
"datasourceTemplate": "docker",
|
||||||
"datasourceTemplate": "docker"
|
"depNameTemplate": "postfixadmin-fetchmail",
|
||||||
|
"lookupNameTemplate": "docker.io/volkerraschek/postfixadmin-fetchmail"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -42,6 +42,9 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.podPriorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.podPriorityClassName }}
|
||||||
|
{{- end }}
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 12 }}
|
{{- toYaml .Values.podSecurityContext | nindent 12 }}
|
||||||
|
@ -5,10 +5,6 @@ metadata:
|
|||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
|
|
||||||
{{- if not (hasKey .Values "config") -}}
|
|
||||||
{{- $_ := set .Values "config" dict -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/* SETUP CONFIG */}}
|
{{/* SETUP CONFIG */}}
|
||||||
{{ range $key, $value := .Values.config }}
|
{{ range $key, $value := .Values.config }}
|
||||||
{{ upper $key}}: {{ quote $value }}
|
{{ upper $key}}: {{ quote $value }}
|
||||||
|
@ -23,12 +23,14 @@ serviceAccount:
|
|||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
podPriorityClassName: ""
|
||||||
|
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
schedule: "*/10 * * * *"
|
schedule: "*/10 * * * *"
|
||||||
|
|
||||||
config:
|
config: {}
|
||||||
# DATABASE_TYPE
|
# DATABASE_TYPE
|
||||||
# Currently will be only postgres, mysql and mariadb supported. About the
|
# Currently will be only postgres, mysql and mariadb supported. About the
|
||||||
# environment variable DATABASE_TYPE can the backend type defined. The value
|
# environment variable DATABASE_TYPE can the backend type defined. The value
|
||||||
|
Reference in New Issue
Block a user