diff --git a/stable/postgresql/2.1.1/CHANGELOG.md b/stable/postgresql/2.1.1/CHANGELOG.md deleted file mode 100644 index f4806900e28..00000000000 --- a/stable/postgresql/2.1.1/CHANGELOG.md +++ /dev/null @@ -1,8 +0,0 @@ - - -### [postgresql-2.1.1](https://github.com/truecharts/apps/compare/postgresql-2.1.0...postgresql-2.1.1) (2021-09-11) - -#### Fix - -* use correct appversion string - diff --git a/stable/postgresql/2.1.1/Chart.lock b/stable/postgresql/2.1.1/Chart.lock deleted file mode 100644 index 7b84898eeb7..00000000000 --- a/stable/postgresql/2.1.1/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: common - repository: https://truecharts.org/ - version: 7.0.2 -digest: sha256:0fedec7df721ee22e53c87584f5ba740c93f0c2f5445056ed55412eb25ce47a2 -generated: "2021-09-11T19:46:17.288421405Z" diff --git a/stable/postgresql/2.1.1/charts/common-7.0.2.tgz b/stable/postgresql/2.1.1/charts/common-7.0.2.tgz deleted file mode 100644 index e26c46b0911..00000000000 Binary files a/stable/postgresql/2.1.1/charts/common-7.0.2.tgz and /dev/null differ diff --git a/stable/postgresql/2.2.0/CHANGELOG.md b/stable/postgresql/2.2.0/CHANGELOG.md new file mode 100644 index 00000000000..c21602b2c7f --- /dev/null +++ b/stable/postgresql/2.2.0/CHANGELOG.md @@ -0,0 +1,12 @@ + + +### [postgresql-2.2.0](https://github.com/truecharts/apps/compare/postgresql-2.1.1...postgresql-2.2.0) (2021-09-13) + +#### Chore + +* update non-major + +#### Feat + +* Add VPN addon and move some config to includes ([#973](https://github.com/truecharts/apps/issues/973)) + diff --git a/stable/postgresql/2.1.1/CONFIG.md b/stable/postgresql/2.2.0/CONFIG.md similarity index 100% rename from stable/postgresql/2.1.1/CONFIG.md rename to stable/postgresql/2.2.0/CONFIG.md diff --git a/stable/postgresql/2.2.0/Chart.lock b/stable/postgresql/2.2.0/Chart.lock new file mode 100644 index 00000000000..17ed10eadbc --- /dev/null +++ b/stable/postgresql/2.2.0/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://truecharts.org/ + version: 7.0.12 +digest: sha256:0e777e12a20c9a11423997f23899ddaa5c10f0d201b73bb3cdb30b8e7a656ed0 +generated: "2021-09-13T12:16:53.614778765Z" diff --git a/stable/postgresql/2.1.1/Chart.yaml b/stable/postgresql/2.2.0/Chart.yaml similarity index 94% rename from stable/postgresql/2.1.1/Chart.yaml rename to stable/postgresql/2.2.0/Chart.yaml index 1d170556c3d..1f52d32574d 100644 --- a/stable/postgresql/2.1.1/Chart.yaml +++ b/stable/postgresql/2.2.0/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 13.4.0 dependencies: - name: common repository: https://truecharts.org/ - version: 7.0.2 + version: 7.0.12 deprecated: false description: PostgresSQL home: https://github.com/truecharts/apps/tree/master/stable/postgres @@ -25,4 +25,4 @@ name: postgresql sources: - https://www.postgresql.org/ type: application -version: 2.1.1 +version: 2.2.0 diff --git a/stable/postgresql/2.1.1/README.md b/stable/postgresql/2.2.0/README.md similarity index 96% rename from stable/postgresql/2.1.1/README.md rename to stable/postgresql/2.2.0/README.md index 0cf471c5f95..c178eeb75cd 100644 --- a/stable/postgresql/2.1.1/README.md +++ b/stable/postgresql/2.2.0/README.md @@ -17,7 +17,7 @@ Kubernetes: `>=1.16.0-0` | Repository | Name | Version | |------------|------|---------| -| https://truecharts.org/ | common | 7.0.2 | +| https://truecharts.org/ | common | 7.0.12 | ## Installing the Chart diff --git a/stable/postgresql/2.1.1/app-readme.md b/stable/postgresql/2.2.0/app-readme.md similarity index 100% rename from stable/postgresql/2.1.1/app-readme.md rename to stable/postgresql/2.2.0/app-readme.md diff --git a/stable/postgresql/2.2.0/charts/common-7.0.12.tgz b/stable/postgresql/2.2.0/charts/common-7.0.12.tgz new file mode 100644 index 00000000000..fcc9cde052e Binary files /dev/null and b/stable/postgresql/2.2.0/charts/common-7.0.12.tgz differ diff --git a/stable/postgresql/2.1.1/helm-values.md b/stable/postgresql/2.2.0/helm-values.md similarity index 97% rename from stable/postgresql/2.1.1/helm-values.md rename to stable/postgresql/2.2.0/helm-values.md index 2ea2f1e49d2..d77296fef76 100644 --- a/stable/postgresql/2.1.1/helm-values.md +++ b/stable/postgresql/2.2.0/helm-values.md @@ -19,7 +19,7 @@ You will, however, be able to use all values referenced in the common chart here | existingSecret | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | | | image.repository | string | `"bitnami/postgresql"` | | -| image.tag | string | `"13.4.0@sha256:7fff0f7e827cd8e1daa3adbf0ca3f19e21006023c0f6d1c2d835718961516a87"` | | +| image.tag | string | `"13.4.0@sha256:8dd9c609de6a960d65285f56106e00bd06ee0ce74fad4876ca7f8d847d10b2e2"` | | | initContainers.migrate-db.command[0] | string | `"/bin/sh"` | | | initContainers.migrate-db.command[1] | string | `"-cx"` | | | initContainers.migrate-db.command[2] | string | `"echo 'trying to migrate old db to new location...'\nmkdir -p /bitnami/postgresql/data\nmv -f /bitnami/postgresql/old/* /bitnami/postgresql/data/ || true\nchown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/data\nchmod 775 /bitnami/postgresql/data\n"` | | diff --git a/stable/postgresql/2.1.1/ix_values.yaml b/stable/postgresql/2.2.0/ix_values.yaml similarity index 95% rename from stable/postgresql/2.1.1/ix_values.yaml rename to stable/postgresql/2.2.0/ix_values.yaml index 6fddd921907..cf776ae3a35 100644 --- a/stable/postgresql/2.1.1/ix_values.yaml +++ b/stable/postgresql/2.2.0/ix_values.yaml @@ -7,7 +7,7 @@ image: repository: bitnami/postgresql pullPolicy: IfNotPresent - tag: 13.4.0@sha256:7fff0f7e827cd8e1daa3adbf0ca3f19e21006023c0f6d1c2d835718961516a87 + tag: 13.4.0@sha256:8dd9c609de6a960d65285f56106e00bd06ee0ce74fad4876ca7f8d847d10b2e2 initContainers: diff --git a/stable/postgresql/2.1.1/questions.yaml b/stable/postgresql/2.2.0/questions.yaml similarity index 74% rename from stable/postgresql/2.1.1/questions.yaml rename to stable/postgresql/2.2.0/questions.yaml index 8f4f9363b9e..967775fc2c8 100644 --- a/stable/postgresql/2.1.1/questions.yaml +++ b/stable/postgresql/2.2.0/questions.yaml @@ -17,6 +17,10 @@ groups: description: "Configure security context and permissions" - name: "Resources and Devices" description: "Specify resources/devices to be allocated to workload" + - name: "Middlewares" + description: "Traefik Middlewares" + - name: "Addons" + description: "Addon Configuration" - name: "Advanced" description: "Advanced Configuration" questions: @@ -76,99 +80,70 @@ questions: description: "RollingUpdate: Create new pods and then kill old ones" - value: "OnDelete" description: "(Legacy) OnDelete: ignore .spec.template changes" - - variable: labelsList - label: "Controller Labels" + - variable: advanced + label: "Show Expert Configuration Options" schema: - type: list - default: [] - items: - - variable: labelItem - label: "Label" + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: extraArgs + label: "Extra Args" schema: - type: dict - attrs: - - variable: name - label: "Name" + type: list + default: [] + items: + - variable: argItem + label: "Arg" schema: - type: string - - variable: value - label: "Value" + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: labelsList + label: "Controller Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" schema: - type: string - - variable: annotationsList - label: " Controller Annotations" - schema: - type: list - default: [] - items: - - variable: annotationItem - label: "Label" + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: " Controller Annotations" schema: - type: dict - attrs: - - variable: name - label: "Name" + type: list + default: [] + items: + - variable: annotationItem + label: "Label" schema: - type: string - - variable: value - label: "Value" - schema: - type: string - - - - variable: podLabelsList - group: "Container Configuration" - label: "Pod Labels" - schema: - type: list - default: [] - items: - - variable: podLabelItem - label: "Label" - schema: - type: dict - attrs: - - variable: name - label: "Name" - schema: - type: string - - variable: value - label: "Value" - schema: - type: string - - - variable: podAnnotationsList - group: "Container Configuration" - label: "Pod Annotations" - schema: - type: list - default: [] - items: - - variable: podAnnotationItem - label: "Label" - schema: - type: dict - attrs: - - variable: name - label: "Name" - schema: - type: string - - variable: value - label: "Value" - schema: - type: string - - - variable: termination - group: "Container Configuration" - label: "Termination settings" - schema: - type: dict - attrs: - - variable: gracePeriodSeconds - label: "Grace Period Seconds" - schema: - type: int - default: 10 + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string - variable: env group: "Container Configuration" @@ -184,7 +159,6 @@ questions: $ref: - "definitions/timezone" - # Configure Enviroment Variables - variable: envList label: "Image environment" group: "Container Configuration" @@ -206,6 +180,67 @@ questions: schema: type: string + - variable: expertpodconf + group: "Container Configuration" + label: "Show Expert Config" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: termination + group: "Container Configuration" + label: "Termination settings" + schema: + type: dict + attrs: + - variable: gracePeriodSeconds + label: "Grace Period Seconds" + schema: + type: int + default: 10 + - variable: podLabelsList + group: "Container Configuration" + label: "Pod Labels" + schema: + type: list + default: [] + items: + - variable: podLabelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + + - variable: podAnnotationsList + group: "Container Configuration" + label: "Pod Annotations" + schema: + type: list + default: [] + items: + - variable: podAnnotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: postgresqlDatabase group: "App Configuration" label: "Database Name" @@ -340,115 +375,115 @@ questions: default: 36009 - - variable: serviceList - label: "Additional Services" - group: "Networking and Services" - schema: - type: list - default: [] - items: - - variable: serviceListEntry - label: "Custom Service" + - variable: serviceList + label: "Add Manual Custom Services" + group: "Networking and Services" schema: - type: dict - attrs: - - variable: enabled - label: "Enable the service" + type: list + default: [] + items: + - variable: serviceListEntry + label: "Custom Service" schema: - type: boolean - default: true - hidden: true - - variable: name - label: "Name" - schema: - type: string - default: "" - - variable: type - label: "Service Type" - description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer" - schema: - type: string - default: "NodePort" - enum: - - value: "NodePort" - description: "NodePort" - - value: "ClusterIP" - description: "ClusterIP" - - value: "LoadBalancer" - description: "LoadBalancer" - - variable: loadBalancerIP - label: "LoadBalancer IP" - description: "LoadBalancerIP" - schema: - show_if: [["type", "=", "LoadBalancer"]] - type: string - default: "" - - variable: externalIPs - label: "External IP's" - description: "External IP's" - schema: - show_if: [["type", "=", "LoadBalancer"]] - type: list - default: [] - items: - - variable: externalIP - label: "External IP" + type: dict + attrs: + - variable: enabled + label: "Enable the service" + schema: + type: boolean + default: true + hidden: true + - variable: name + label: "Name" schema: type: string - - variable: portsList - label: "Additional Service Ports" - schema: - type: list - default: [] - items: - - variable: portsListEntry - label: "Custom ports" + default: "" + - variable: type + label: "Service Type" + description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer" schema: - type: dict - attrs: - - variable: enabled - label: "Enable the port" - schema: - type: boolean - default: true - hidden: true - - variable: name - label: "Port Name" + type: string + default: "NodePort" + enum: + - value: "NodePort" + description: "NodePort" + - value: "ClusterIP" + description: "ClusterIP" + - value: "LoadBalancer" + description: "LoadBalancer" + - variable: loadBalancerIP + label: "LoadBalancer IP" + description: "LoadBalancerIP" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: externalIPs + label: "External IP's" + description: "External IP's" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: list + default: [] + items: + - variable: externalIP + label: "External IP" schema: type: string - default: "" - - variable: protocol - label: "Port Type" + - variable: portsList + label: "Additional Service Ports" + schema: + type: list + default: [] + items: + - variable: portsListEntry + label: "Custom ports" schema: - type: string - default: "TCP" - enum: - - value: HTTP - description: "HTTP" - - value: "HTTPS" - description: "HTTPS" - - value: TCP - description: "TCP" - - value: "UDP" - description: "UDP" - - variable: targetPort - label: "Target Port" - description: "This port exposes the container port on the service" - schema: - type: int - required: true - - variable: port - label: "Container Port" - schema: - type: int - required: true - - variable: nodePort - label: "Node Port (Optional)" - description: "This port gets exposed to the node. Only considered when service type is NodePort" - schema: - type: int - min: 9000 - max: 65535 + type: dict + attrs: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + hidden: true + - variable: name + label: "Port Name" + schema: + type: string + default: "" + - variable: protocol + label: "Port Type" + schema: + type: string + default: "TCP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: targetPort + label: "Target Port" + description: "This port exposes the container port on the service" + schema: + type: int + required: true + - variable: port + label: "Container Port" + schema: + type: int + required: true + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort" + schema: + type: int + min: 9000 + max: 65535 - variable: persistence label: "Integrated Persistent Storage" @@ -806,6 +841,52 @@ questions: schema: type: boolean default: true + hidden: true + - variable: advanced + label: "Show Advanced Options" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: labelsList + label: "Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: "Annotations" + schema: + type: list + default: [] + items: + - variable: annotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string - variable: type label: "(Advanced) Type of Storage" description: "Sets the persistence type" @@ -821,7 +902,7 @@ questions: description: "hostPath" - variable: storageClass label: "(Advanced) storageClass" - description: " Warning: Anything other than SCALE-ZFS will break rollback!" + description: "Warning: Anything other than SCALE-ZFS will break rollback!" schema: show_if: [["type", "=", "pvc"]] type: string @@ -845,7 +926,7 @@ questions: show_if: [["type", "=", "hostPath"]] type: hostpath - variable: hostPathType - label: "hostPath Type" + label: "(Advanced) hostPath Type" schema: show_if: [["type", "=", "hostPath"]] type: string @@ -872,8 +953,8 @@ questions: description: "Path inside the container the storage is mounted" schema: type: string - required: true default: "" + required: true - variable: medium label: "EmptyDir Medium" schema: @@ -886,8 +967,8 @@ questions: - value: "Memory" description: "Memory" - variable: accessMode - label: "Access Mode (Advanced)" - description: "Allow or disallow multiple PVC's writhing to the same PVC" + label: "(Advanced) Access Mode" + description: "Allow or disallow multiple PVC's writhing to the same PV" schema: show_if: [["type", "=", "pvc"]] type: string @@ -908,7 +989,7 @@ questions: - variable: ingressList - label: "Additional Ingress" + label: "Add Manual Custom Ingresses" group: "Ingress" schema: type: list @@ -1077,7 +1158,6 @@ questions: default: "" required: true - - variable: securityContext group: "Security and Permissions" label: "Security Context" @@ -1193,7 +1273,7 @@ questions: - variable: autoscaling group: "Resources and Devices" - label: "Horizontal Pod Autoscaler" + label: "(Advanced) Horizontal Pod Autoscaler" schema: type: dict attrs: @@ -1230,3 +1310,125 @@ questions: schema: type: int default: 80 + + + - variable: addons + group: "Addons" + label: "" + schema: + type: dict + attrs: + - variable: vpn + label: "VPN" + schema: + type: dict + attrs: + - variable: type + label: "Type" + schema: + type: string + default: "disabled" + enum: + - value: "disabled" + description: "disabled" + - value: "openvpn" + description: "OpenVPN" + - value: "wireguard" + description: "Wireguard" + - variable: openvpn + label: "OpenVPN Settings" + schema: + type: dict + show_if: [["type", "=", "openvpn"]] + attrs: + - variable: auth + label: "auth" + schema: + type: string + default: "" + - variable: authSecret + label: "authSecret" + schema: + type: string + default: "" + - variable: wireguard + label: "Wireguard Settings" + schema: + type: dict + show_if: [["type", "=", "wireguard"]] + attrs: + - variable: KILLSWITCH + label: "Enable killswitch" + schema: + type: boolean + default: false + - variable: KILLSWITCH_EXCLUDEDNETWORKS_IPV4 + label: "Killswitch Excluded IPv4 networks" + description: "list of killswitch excluded ipv4 addresses seperated by ;" + schema: + type: string + default: "172.16.0.0/12" + - variable: KILLSWITCH_EXCLUDEDNETWORKS_IPV6 + label: "Killswitch Excluded IPv6 networks" + description: "list of killswitch excluded ipv4 addresses seperated by ;" + schema: + type: string + default: "" + - variable: configFile + label: "VPN Config File Location" + schema: + type: dict + show_if: [["type", "!=", "disabled"]] + attrs: + - variable: enabled + label: "enabled" + schema: + type: boolean + default: true + hidden: true + - variable: type + label: "type" + schema: + type: string + default: "hostPath" + hidden: true + - variable: hostPathType + label: "hostPathType" + schema: + type: string + default: "File" + hidden: true + - variable: noMount + label: "noMount" + schema: + type: boolean + default: true + hidden: true + - variable: hostPath + label: "Full path to file" + schema: + type: string + default: "/mnt/tank/config/YourVPN-Config.conf" + required: true + - variable: envList + label: "VPN environment Variables" + schema: + type: list + show_if: [["type", "!=", "disabled"]] + default: [] + items: + - variable: envItem + label: "Environment Variable" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + required: true + - variable: value + label: "Value" + schema: + type: string + required: true diff --git a/stable/postgresql/2.1.1/templates/backup-postgres-config.yaml b/stable/postgresql/2.2.0/templates/backup-postgres-config.yaml similarity index 100% rename from stable/postgresql/2.1.1/templates/backup-postgres-config.yaml rename to stable/postgresql/2.2.0/templates/backup-postgres-config.yaml diff --git a/stable/postgresql/2.1.1/templates/common.yaml b/stable/postgresql/2.2.0/templates/common.yaml similarity index 100% rename from stable/postgresql/2.1.1/templates/common.yaml rename to stable/postgresql/2.2.0/templates/common.yaml diff --git a/stable/postgresql/2.1.1/templates/secret.yaml b/stable/postgresql/2.2.0/templates/secret.yaml similarity index 100% rename from stable/postgresql/2.1.1/templates/secret.yaml rename to stable/postgresql/2.2.0/templates/secret.yaml diff --git a/stable/postgresql/2.1.1/templates/upgrade-backup-postgres-hook.yaml b/stable/postgresql/2.2.0/templates/upgrade-backup-postgres-hook.yaml similarity index 100% rename from stable/postgresql/2.1.1/templates/upgrade-backup-postgres-hook.yaml rename to stable/postgresql/2.2.0/templates/upgrade-backup-postgres-hook.yaml diff --git a/stable/postgresql/2.1.1/test_values.yaml b/stable/postgresql/2.2.0/test_values.yaml similarity index 96% rename from stable/postgresql/2.1.1/test_values.yaml rename to stable/postgresql/2.2.0/test_values.yaml index 05647109ef1..7bc7aebe0b8 100644 --- a/stable/postgresql/2.1.1/test_values.yaml +++ b/stable/postgresql/2.2.0/test_values.yaml @@ -1,7 +1,7 @@ image: repository: bitnami/postgresql pullPolicy: IfNotPresent - tag: 13.4.0@sha256:7fff0f7e827cd8e1daa3adbf0ca3f19e21006023c0f6d1c2d835718961516a87 + tag: 13.4.0@sha256:8dd9c609de6a960d65285f56106e00bd06ee0ce74fad4876ca7f8d847d10b2e2 service: diff --git a/stable/postgresql/2.1.1/values.yaml b/stable/postgresql/2.2.0/values.yaml similarity index 100% rename from stable/postgresql/2.1.1/values.yaml rename to stable/postgresql/2.2.0/values.yaml