Skip to content

Commit

Permalink
Merge pull request #358 from cloud-pi-native/fix/cnpg-backups-and-arg…
Browse files Browse the repository at this point in the history
…ocd-proxy

Fix/cnpg backups and argocd proxy
  • Loading branch information
this-is-tobi authored Oct 14, 2024
2 parents 3e4ca03 + 96d13c0 commit 3b93398
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion roles/argocd/templates/values/10-proxy.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ server:
- name: HTTPS_PROXY
value: "{{ dsc.proxy.https_proxy }}"
- name: NO_PROXY
value: "{{ dsc.proxy.no_proxy }},argo-argo-cd-repo-server"
value: "{{ dsc.proxy.no_proxy }},{{ dsc_name }}-argocd-repo-server"

repoServer:
env: *extraEnvVars
Expand Down
2 changes: 1 addition & 1 deletion roles/console-dso/templates/values/00-main.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cnpg:
pre.hook.backup.velero.io/on-error: Fail
pre.hook.backup.velero.io/timeout: 90s
{% endif %}
{% if dsc.global.backup.cnpg.enabled %}
{% if dsc.global.backup.cnpg.enabled and dsc.console.cnpg.mode != "restore" %}
backup:
enabled: "{{ dsc.global.backup.cnpg.enabled }}"
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/gitlab/templates/pg-cluster-gitlab.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
monitoring:
enablePodMonitor: {{ dsc.global.metrics.enabled }}

{% if dsc.global.backup.cnpg.enabled %}
{% if dsc.global.backup.cnpg.enabled and dsc.gitlab.cnpg.mode != "restore" %}
backup:
barmanObjectStore:
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/harbor/templates/pg-cluster-harbor.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
monitoring:
enablePodMonitor: {{ dsc.global.metrics.enabled }}

{% if dsc.global.backup.cnpg.enabled %}
{% if dsc.global.backup.cnpg.enabled and dsc.harbor.cnpg.mode != "restore" %}
backup:
barmanObjectStore:
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/keycloak/templates/pg-cluster-keycloak.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
monitoring:
enablePodMonitor: {{ dsc.global.metrics.enabled }}

{% if dsc.global.backup.cnpg.enabled %}
{% if dsc.global.backup.cnpg.enabled and dsc.keycloak.cnpg.mode != "restore" %}
backup:
barmanObjectStore:
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/sonarqube/templates/pg-cluster-sonar.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
monitoring:
enablePodMonitor: {{ dsc.global.metrics.enabled }}

{% if dsc.global.backup.cnpg.enabled %}
{% if dsc.global.backup.cnpg.enabled and dsc.sonarqube.cnpg.mode != "restore" %}
backup:
barmanObjectStore:
destinationPath: "s3://{{ dsc.global.backup.s3.bucketName }}/{{ dsc.global.backup.cnpg.pathPrefix }}"
Expand Down

0 comments on commit 3b93398

Please sign in to comment.