diff --git a/ops/Helm/addons/store/postgres-operator/Chart.lock b/ops/Helm/addons/store/postgres-operator/Chart.lock new file mode 100644 index 00000000000..8691b84efcf --- /dev/null +++ b/ops/Helm/addons/store/postgres-operator/Chart.lock @@ -0,0 +1,9 @@ +dependencies: +- name: postgres-operator + repository: https://opensource.zalando.com/postgres-operator/charts/postgres-operator + version: 1.10.0 +- name: postgres-operator-ui + repository: https://opensource.zalando.com/postgres-operator/charts/postgres-operator-ui + version: 1.10.0 +digest: sha256:2c4bb8c56df39affdfc992ac95e14071b21e1d69d7629e5541fa289899e1b7c3 +generated: "2023-06-09T14:10:26.781475+02:00" diff --git a/ops/Helm/addons/store/postgres-operator/Chart.yaml b/ops/Helm/addons/store/postgres-operator/Chart.yaml new file mode 100644 index 00000000000..9bc3ed42826 --- /dev/null +++ b/ops/Helm/addons/store/postgres-operator/Chart.yaml @@ -0,0 +1,31 @@ +apiVersion: v2 # The chart API version (required) +appVersion: "1.0.0" # The version of the app that this contains (optional) +name: postgres # The name of the chart (required) +version: 1.0.0 # A SemVer 2 version (required) +kubeVersion: ">= 1.24.0 || >= v1.24.0-0" # A SemVer range of compatible Kubernetes versions (optional) +keywords: # A list of keywords about this project (optional) + - postgres +maintainers: + - email: batazor111@gmail.com + name: batazor + url: batazor.ru +engine: gotpl +type: application # It is the type of chart (optional) +deprecated: false # Whether this chart is deprecated (optional, boolean) +dependencies: + - name: postgres-operator + version: 1.10.0 + repository: https://opensource.zalando.com/postgres-operator/charts/postgres-operator + condition: postgres-operator.enabled + tags: + - postgresql + - store + - operator + - name: postgres-operator-ui + version: 1.10.0 + repository: https://opensource.zalando.com/postgres-operator/charts/postgres-operator-ui + condition: postgres-operator-ui.enabled + tags: + - postgresql + - store + - ui diff --git a/ops/Helm/addons/store/postgres-operator/charts/postgres-operator-1.10.0.tgz b/ops/Helm/addons/store/postgres-operator/charts/postgres-operator-1.10.0.tgz new file mode 100644 index 00000000000..71f3483f550 Binary files /dev/null and b/ops/Helm/addons/store/postgres-operator/charts/postgres-operator-1.10.0.tgz differ diff --git a/ops/Helm/addons/store/postgres-operator/charts/postgres-operator-ui-1.10.0.tgz b/ops/Helm/addons/store/postgres-operator/charts/postgres-operator-ui-1.10.0.tgz new file mode 100644 index 00000000000..7bc308f0f5f Binary files /dev/null and b/ops/Helm/addons/store/postgres-operator/charts/postgres-operator-ui-1.10.0.tgz differ diff --git a/ops/Helm/addons/store/postgres-operator/templates/NOTES.txt b/ops/Helm/addons/store/postgres-operator/templates/NOTES.txt new file mode 100644 index 00000000000..68e8ce8a646 --- /dev/null +++ b/ops/Helm/addons/store/postgres-operator/templates/NOTES.txt @@ -0,0 +1,5 @@ +CHART NAME: {{ .Chart.Name }} +CHART VERSION: {{ .Chart.Version }} +APP VERSION: {{ .Chart.AppVersion }} + +** Please be patient while the chart is being deployed ** diff --git a/ops/Helm/addons/store/postgres-operator/values.yaml b/ops/Helm/addons/store/postgres-operator/values.yaml new file mode 100644 index 00000000000..41f9caa6d17 --- /dev/null +++ b/ops/Helm/addons/store/postgres-operator/values.yaml @@ -0,0 +1,9 @@ +# Common default values for postgres-operator. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +postgres-operator: + enabled: true + +postgres-operator-ui-charts: + enabled: true diff --git a/ops/argocd/infrastructure/postgres-operator/application.yaml b/ops/argocd/infrastructure/postgres-operator/application.yaml new file mode 100644 index 00000000000..607028b7da7 --- /dev/null +++ b/ops/argocd/infrastructure/postgres-operator/application.yaml @@ -0,0 +1,44 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: postgres-operator + namespace: argocd + annotations: + notifications.argoproj.io/subscribe.on-sync-succeeded.slack: gitops + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: shortlink + destination: + name: '' + namespace: postgres-operator + server: 'https://kubernetes.default.svc' + source: + path: ops/Helm/addons/store/postgres-operator + repoURL: 'https://github.com/shortlink-org/shortlink' + targetRevision: HEAD + helm: + releaseName: postgres-operator + syncPolicy: + automated: + prune: true + allowEmpty: true + selfHeal: true + managedNamespaceMetadata: + labels: + istio-injection: enabled + syncOptions: + - CreateNamespace=true + - ServerSideApply=true + - ApplyOutOfSyncOnly=true + retry: + limit: 2 + backoff: + duration: 10s + maxDuration: 3m0s + factor: 2 + ignoreDifferences: + - group: kyverno.io + kind: ClusterPolicy + jqPathExpressions: + - .spec.rules[] | select(.name|test("autogen-."))