-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cluster secret and db deletion back to general role
- Loading branch information
1 parent
d915653
commit f47476b
Showing
10 changed files
with
53 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
ansible/roles/schulcloud-calendar-core/tasks/postgres_management.yml
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...management/configmap-database-init.yml.j2 → .../templates/configmap-database-init.yml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
...schulcloud-calendar-core/templates/postgres_management/configmap-database-deletion.yml.j2
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
...roles/schulcloud-calendar-core/templates/postgres_management/job-database-deletion.yml.j2
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...oles/schulcloud-calendar-core/templates/postgres_management/onepassword-pg-cluster.yml.j2
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
ansible/roles/schulcloud-calendar-core/templates/postgres_management/secret-database.yml.j2
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
ansible/roles/schulcloud-calendar-core/templates/secret-database.yml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: pg-calendar-secret | ||
namespace: {{ NAMESPACE }} | ||
labels: | ||
app: calendar-postgres-init | ||
type: Opaque | ||
data: | ||
DB_USER: "{{ (POSTGRES_MANAGEMENT_PREFIX + 'calendar') | b64encode }}" | ||
DB_USER_PASSWORD: "{{ lookup('ansible.builtin.password', '/dev/null') | b64encode }}" | ||
DB_NAME: "{{ (POSTGRES_MANAGEMENT_PREFIX + 'calendar') | b64encode }}" |