diff --git a/charts/incubator/proxmox-backup-server/.helmignore b/charts/incubator/proxmox-backup-server/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/proxmox-backup-server/.helmignore @@ -0,0 +1,30 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png diff --git a/charts/incubator/proxmox-backup-server/CHANGELOG.md b/charts/incubator/proxmox-backup-server/CHANGELOG.md new file mode 100644 index 00000000000..93eb5e04251 --- /dev/null +++ b/charts/incubator/proxmox-backup-server/CHANGELOG.md @@ -0,0 +1 @@ +# ChangeLog diff --git a/charts/incubator/proxmox-backup-server/Chart.yaml b/charts/incubator/proxmox-backup-server/Chart.yaml new file mode 100644 index 00000000000..42ad7f17039 --- /dev/null +++ b/charts/incubator/proxmox-backup-server/Chart.yaml @@ -0,0 +1,27 @@ +apiVersion: v2 +appVersion: "2.2-7" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 14.0.10 +description: Container for proxmox backup server +home: https://truecharts.org/charts/incubator/proxmox-backup-server +icon: https://truecharts.org/img/hotlink-ok/chart-icons/pbs +keywords: + - proxmox-backup-server + - pbs +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: proxmox-backup-server +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/pbs + - https://hub.docker.com/r/bingsin/pbs +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - test + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/proxmox-backup-server/README.md b/charts/incubator/proxmox-backup-server/README.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/proxmox-backup-server/docs/installation_notes.md b/charts/incubator/proxmox-backup-server/docs/installation_notes.md new file mode 100644 index 00000000000..b4c0f2e524a --- /dev/null +++ b/charts/incubator/proxmox-backup-server/docs/installation_notes.md @@ -0,0 +1,8 @@ +# Installation notes + +Default credentials: + +- Username: `admin` +- Password: `pbspbs` + +On login screen select `Proxmox Backup authentication server` as `Realm`. diff --git a/charts/incubator/proxmox-backup-server/icon.png b/charts/incubator/proxmox-backup-server/icon.png new file mode 100644 index 00000000000..f9412c06624 Binary files /dev/null and b/charts/incubator/proxmox-backup-server/icon.png differ diff --git a/charts/incubator/proxmox-backup-server/questions.yaml b/charts/incubator/proxmox-backup-server/questions.yaml new file mode 100644 index 00000000000..3350ed15f29 --- /dev/null +++ b/charts/incubator/proxmox-backup-server/questions.yaml @@ -0,0 +1,90 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} + +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} +# Include{containerBasic} +# Include{containerAdvanced} + +# Include{containerConfig} +# Include{podOptions} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 8007 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: config + label: "App Config Storage" + description: "Stores the PBS Configuration." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressAdvanced} +# Include{ingressList} +# Include{securityContextRoot} + + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 0 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID of the user running the application" + schema: + type: int + default: 0 +# Include{securityContextContainer} +# Include{securityContextAdvanced} +# Include{securityContextPod} + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage, make sure PBS Configuration has backup(34) group permission" + schema: + type: int + default: 34 + +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/proxmox-backup-server/templates/common.yaml b/charts/incubator/proxmox-backup-server/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/proxmox-backup-server/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/proxmox-backup-server/values.yaml b/charts/incubator/proxmox-backup-server/values.yaml new file mode 100644 index 00000000000..cef7be0f87d --- /dev/null +++ b/charts/incubator/proxmox-backup-server/values.yaml @@ -0,0 +1,57 @@ +image: + repository: tccr.io/truecharts/proxmox-backup-server + tag: v3.0.2@sha256:31e31c6bc27ca6e682eb2819ba69bec7d20bfa928e5642123e620f9be3277d3c + pullPolicy: IfNotPresent + +securityContext: + container: + readOnlyRootFilesystem: false + runAsNonRoot: false + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + targetPort: 8007 + protocol: https + port: 8007 + +workload: + main: + podSpec: + # It's used in the certificate generation + # Without this it exceeds the 64 character limit + # This limit comes from the crypt C library. + hostname: pbs + containers: + main: + probes: + liveness: + type: https + readiness: + type: https + startup: + type: tcp + +persistence: + config: + enabled: true + mountPath: /etc/proxmox-backup + lib: + enabled: true + type: emptyDir + mountPath: /var/lib/proxmox-backup + log: + enabled: true + type: emptyDir + mountPath: /var/log/proxmox-backup + run: + enabled: true + type: emptyDir + mountPath: /run + +portal: + open: + enabled: true