Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chart/chart-index/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
repository: https://cloudnative-pg.github.io/charts
- name: plugin-barman-cloud
alias: cloudnative-pg-plugin-barman-cloud
version: 0.1.0
version: 0.3.0
repository: https://cloudnative-pg.github.io/charts
- name: cloud-firewall-crd
version: 0.2.0
Expand Down
58 changes: 22 additions & 36 deletions charts/cloudnative-pg-plugin-barman-cloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,26 @@
#
# Copyright The CloudNativePG Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apiVersion: v2
name: plugin-barman-cloud
description: CloudNativePG plugin for barman cloud Helm Chart
appVersion: 0.9.0
description: Helm Chart for CloudNativePG's CNPG-I backup plugin using Barman Cloud
home: https://cloudnative-pg.io
icon: https://raw.githubusercontent.com/cloudnative-pg/artwork/main/cloudnativepg-logo.svg
type: application
version: "0.1.0"
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning, they should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.5.0"
sources:
- https://github.com/cloudnative-pg/plugin-barman-cloud
keywords:
- barman
- backup
- postgresql
- postgres
- database
home: https://cloudnative-pg.io
- barman
- cloud
- backup
- postgresql
- postgres
- database
- cloudnativepg
- cloudnative-pg
maintainers:
- name: quantumenigmaa
email: thibaud.vaisseau@gmail.com
- name: quentinbisson
email: quentin.bisson@gmail.com
- email: itay@verito.digital
name: itay-grudev
- email: thibaud.vaisseau@gmail.com
name: quantumenigmaa
- email: quentin.bisson@gmail.com
name: quentinbisson
name: plugin-barman-cloud
sources:
- https://github.com/cloudnative-pg/plugin-barman-cloud
type: application
version: 0.3.0
27 changes: 16 additions & 11 deletions charts/cloudnative-pg-plugin-barman-cloud/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# plugin-barman-cloud

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.0](https://img.shields.io/badge/AppVersion-0.4.0-informational?style=flat-square)
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square)

CloudNativePG plugin for barman cloud Helm Chart
Helm Chart for CloudNativePG's CNPG-I backup plugin using Barman Cloud

**Homepage:** <https://cloudnative-pg.io>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| itay-grudev | <itay@verito.digital> | |
| quantumenigmaa | <thibaud.vaisseau@gmail.com> | |
| quentinbisson | <quentin.bisson@gmail.com> | |

## Source Code

* <https://github.com/cloudnative-pg/plugin-barman-cloud>
Expand Down Expand Up @@ -40,21 +48,18 @@ CloudNativePG plugin for barman cloud Helm Chart
| podLabels | object | `{}` | Labels to be added to the pod. |
| podSecurityContext | object | `{"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | Security Context for the whole pod. |
| priorityClassName | string | `""` | Priority indicates the importance of a Pod relative to other Pods. |
| rbac.additional.leaderElection.create | bool | `true` | Specifies whether the leader election Role and RoleBinding should be created. |
| rbac.additional.metricsAuth.create | bool | `true` | Specifies whether the metrics auth ClusterRole and ClusterRoleBinding should be created. |
| rbac.additional.metricsReader.create | bool | `true` | Specifies whether the metrics reader ClusterRole should be created. |
| rbac.additional.objectStore.editor.create | bool | `true` | Specifies whether the object store editor ClusterRole should be created. |
| rbac.additional.objectStore.viewer.create | bool | `true` | Specifies whether the object store viewer ClusterRole should be created. |
| rbac.create | bool | `true` | Specifies whether ClusterRole and ClusterRoleBinding should be created. |
| rbac.create | bool | `true` | Specifies whether Role and RoleBinding should be created. |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| service.ipFamilies | list | `[]` | Sets the families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| service.ipFamilyPolicy | string | `""` | Set the ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| service.name | string | `"cnpg-webhook-service"` | DO NOT CHANGE THE SERVICE NAME as it is currently used to generate the certificate and can not be configured |
| service.name | string | `"barman-cloud"` | DO NOT CHANGE THE SERVICE NAME as it is currently used to generate the certificate and can not be configured |
| service.port | int | `9090` | |
| serviceAccount.create | bool | `true` | Specifies whether the service account should be created. |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. |
| sidecarImage.registry | string | `"ghcr.io"` | |
| sidecarImage.repository | string | `"cloudnative-pg/plugin-barman-cloud-sidecar"` | |
| sidecarImage.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
| tolerations | list | `[]` | Tolerations for the operator to be installed. |
| topologySpreadConstraints | list | `[]` | Topology Spread Constraints for the operator to be installed. |
| updateStrategy | object | `{}` | Update strategy for the operator. ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy For example: type: RollingUpdate rollingUpdate: maxSurge: 25% maxUnavailable: 25% |

| updateStrategy | object | `{}` | Update strategy for the operator. ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy For example: type: RollingUpdate rollingUpdate: maxSurge: 25% maxUnavailable: 25% WARNING: the RollingUpdate strategy is not supported by the operator yet so it can currently only use the Recreate strategy. |
Original file line number Diff line number Diff line change
Expand Up @@ -71,65 +71,3 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

{{/*
Define the set of rules that must be applied clusterwide
*/}}
{{- define "plugin-barman-cloud.clusterwideRules" }}
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- watch
- apiGroups:
- barmancloud.cnpg.io
resources:
- objectstores
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- barmancloud.cnpg.io
resources:
- objectstores/finalizers
verbs:
- update
- apiGroups:
- barmancloud.cnpg.io
resources:
- objectstores/status
verbs:
- get
- patch
- update
- apiGroups:
- postgresql.cnpg.io
resources:
- backups
verbs:
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- rolebindings
- roles
verbs:
- create
- get
- list
- patch
- update
- watch
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#
# Copyright The CloudNativePG Contributors
# Copyright © contributors to CloudNativePG, established as
# CloudNativePG a Series of LF Projects, LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,15 +14,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
# permissions to do leader election.
{{- if .Values.rbac.additional.leaderElection.create }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
{{- include "plugin-barman-cloud.labels" . | nindent 4 }}
name: {{ include "plugin-barman-cloud.fullname" . }}-leader-election-role
namespace: {{ include "plugin-barman-cloud.namespace" . }}
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -61,6 +64,7 @@ metadata:
labels:
{{- include "plugin-barman-cloud.labels" . | nindent 4 }}
name: {{ include "plugin-barman-cloud.fullname" . }}-leader-election-rolebinding
namespace: {{ include "plugin-barman-cloud.namespace" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -69,4 +73,3 @@ subjects:
- kind: ServiceAccount
name: {{ include "plugin-barman-cloud.serviceAccountName" . }}
namespace: {{ include "plugin-barman-cloud.namespace" . }}
{{- end }}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading