Skip to content

Merge whole release into main #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 169 commits into from
Jul 12, 2024
Merged
Changes from 3 commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
804e787
change API
Schmaetz Jan 4, 2024
ceffffe
change API
Schmaetz Jan 4, 2024
3592db9
change API
Schmaetz Jan 4, 2024
e5ba2e6
created new Dockerfile for ARM - temporary
Schmaetz Jan 5, 2024
c6ed304
fixed gevent vulnerabilitie
Schmaetz Jan 5, 2024
f05b6a5
fixed gevent vulnerabilitie
Schmaetz Jan 5, 2024
59559d1
fixed golang.org/x/net vulnerabilitie
Schmaetz Jan 5, 2024
60cf6e7
changed patroni status to streaming
Schmaetz Jan 9, 2024
e894a2a
updated pod_test.go for new patroni state
Schmaetz Jan 9, 2024
096a330
Merge pull request #13 from cybertec-postgresql/Patroni-Update
Schmaetz Jan 9, 2024
eddaeab
Auth method changed to scram-256
Jan 9, 2024
c4d5614
NewEncryptor set to scramsha256 if not hasher not matched
Schmaetz Jan 9, 2024
d6571d5
updated tests to scram-sha-256
Schmaetz Jan 9, 2024
fcb43d0
Merge pull request #14 from cybertec-postgresql/7.0-dev
Schmaetz Jan 16, 2024
5b8f58f
Add monitoring details (#15)
RafiaSabih Jan 25, 2024
bb07877
removed tree info from operator-git-urls
Schmaetz Jan 25, 2024
2b10848
Execute sql to setup monitoring (#16)
RafiaSabih Jan 25, 2024
e884025
Fix PDB for single clusters
Jan 29, 2024
9aac1b7
Update sync
Jan 31, 2024
ad2989a
var name
Feb 1, 2024
13d6022
Sync for monitoring changes
Feb 1, 2024
4c0456f
code cleanup
Feb 2, 2024
26d2401
Merge pull request #17 from cybertec-postgresql/fix_pdb
Schmaetz Feb 7, 2024
c5b9c67
Merge pull request #18 from cybertec-postgresql/sync_monitor
Schmaetz Feb 7, 2024
3b0639e
Merge pull request #19 from cybertec-postgresql/v0.7.0-branch-normali…
Schmaetz Mar 8, 2024
6a90f9b
Fix build issues coming from renaming.
ants Mar 11, 2024
a1ed0d7
Whitespace changes from latest go
ants Mar 11, 2024
fb00020
Remove remaining references to acid API name
ants Mar 11, 2024
248eab7
makefile modifications
Schmaetz Mar 11, 2024
e503e09
Merge pull request #23 from cybertec-postgresql/v0.7.0-build-fixes
Schmaetz Mar 12, 2024
56e4644
updated some crd settings*
Schmaetz Mar 13, 2024
85978de
updated some crd settings
Schmaetz Mar 13, 2024
5221827
updated Dockerfile to rocky9
Schmaetz Mar 20, 2024
8dc5aae
fixed sec-issues
Schmaetz Mar 26, 2024
ba2ccc9
Merge pull request #24 from cybertec-postgresql/issue7
Schmaetz Mar 26, 2024
a7dc5cd
Merge pull request #27 from cybertec-postgresql/sec-fixes
Schmaetz Apr 2, 2024
4e57351
Merge pull request #25 from cybertec-postgresql/newOperatorImage
Schmaetz Apr 2, 2024
78e697b
dnf fix
Schmaetz Apr 2, 2024
10aa0e6
Update Readme
Schmaetz Apr 2, 2024
46e817d
Merge pull request #28 from cybertec-postgresql/UpdateReadme
Schmaetz Apr 2, 2024
0a52aa1
updated go to 1.22.1
Schmaetz Apr 2, 2024
43f0967
Merge pull request #30 from cybertec-postgresql/update_go
Schmaetz Apr 2, 2024
1660d65
updated Readme
Schmaetz Apr 2, 2024
866bfdd
Merge pull request #31 from cybertec-postgresql/UpdateReadme
Schmaetz Apr 2, 2024
8ee651c
updated Dockerfile for arm
Schmaetz Apr 2, 2024
1c3a588
updated Dockerfile for arm
Schmaetz Apr 2, 2024
1441e41
Fix update in monitoring
Apr 3, 2024
d7f4efa
Minor fix in renaming
Apr 3, 2024
87ca3bb
Display error if cpo-exporter is added in the manifest
Apr 4, 2024
cd51edc
Minor fixes + cosmetic changes
Apr 4, 2024
7c1cb17
cronjob template fix for backups
Schmaetz Apr 5, 2024
251360d
Changed default labels for cluster-name and role to the new defaults …
Schmaetz Apr 5, 2024
5f2d00b
changed application label valuen spilo -> cpo
Schmaetz Apr 5, 2024
737c26e
Merge pull request #33 from cybertec-postgresql/fix_monitoring_update
Schmaetz Apr 5, 2024
bf44f17
Introduce PVC based repo-host for pgbackrest
Apr 16, 2024
9462153
added service over all clusterpods
Schmaetz Apr 17, 2024
5c3114a
fixed create configmap for postgres-pod
Schmaetz Apr 17, 2024
9518354
fixed pgbackrest configmaps when using RepoHost & added sync & delete…
Schmaetz Apr 17, 2024
4f6ae9d
Bump golang.org/x/net from 0.17.0 to 0.23.0
dependabot[bot] Apr 19, 2024
28e6afc
configmap for server corrected and some fixes on statefulset
Schmaetz Apr 22, 2024
738b4c9
Merge pull request #34 from cybertec-postgresql/cronjob_fix
Schmaetz Apr 22, 2024
c317618
testing changed from Dependabot
Schmaetz Apr 22, 2024
a6e221b
updates crds and postgresql_types for volume definition
Schmaetz Apr 22, 2024
8206de9
updated postgresql_type repo.volume
Schmaetz Apr 22, 2024
1e8193b
updates crds.go to new structure
Schmaetz Apr 22, 2024
2b7399a
Add PKI
Apr 25, 2024
4727301
Fix RepoHost to use correct configmap
Apr 25, 2024
ffd77c2
changed role to type
Schmaetz Apr 25, 2024
66bfda7
typ-label for postgres-pod added
Schmaetz Apr 25, 2024
76a07b8
Fix PVC secret
Apr 25, 2024
61327d9
Fix secret creation by avoiding re-write
Apr 25, 2024
a4c30f8
fixed label for repohost
Schmaetz Apr 25, 2024
78f3cc0
fixed path for crt and key
Schmaetz Apr 25, 2024
992a39f
fixed path for crt and key in postgres-pod (pvc mode pgbackrest) and …
Schmaetz Apr 26, 2024
34c5263
Fix volume and configmap name to be used
Apr 26, 2024
99ed926
Add pvc for each repo
Apr 26, 2024
0b8f429
minor fixes
Apr 26, 2024
8bc4347
spilo-role label changed to member.cpo.opensource.cybertec.at/role
Schmaetz Apr 29, 2024
c965170
Fix configmap for PG pods and s3
Apr 29, 2024
0b7efc2
changed tls path in configmaps
Schmaetz Apr 29, 2024
bfc7f88
Fix cert mounting in PG pods
Apr 29, 2024
6e8e923
Avoid adding TLS env when certs are not provided in manifest
Apr 29, 2024
9d5f5f3
modified configmaps for repo-host
Schmaetz Apr 29, 2024
9b5bb26
Add addtional name to the cert
Apr 29, 2024
818d8b0
minor cleanup
Apr 29, 2024
50e8eee
Fix repo-host cert
Apr 29, 2024
aaf0acd
Make the repo cert server cert
Apr 30, 2024
cb0c8e7
Edit env in pg pod and implement sync operation
May 2, 2024
377f788
Minor cleanup
May 2, 2024
1848937
Fix sync for cases with more repos
May 3, 2024
60946b5
Fix ENV
May 3, 2024
ef16a03
Fix update in monitoring
Apr 3, 2024
992e792
Minor fix in renaming
Apr 3, 2024
181d916
Display error if cpo-exporter is added in the manifest
Apr 4, 2024
60f34da
Minor fixes + cosmetic changes
Apr 4, 2024
d5a122a
cronjob template fix for backups
Schmaetz Apr 5, 2024
0af460b
Bump werkzeug from 2.3.8 to 3.0.3 in /ui
dependabot[bot] May 6, 2024
193a930
Changed default labels for cluster-name and role to the new defaults …
Schmaetz Apr 5, 2024
3eaeffe
changed application label valuen spilo -> cpo
Schmaetz Apr 5, 2024
ff44dcd
Introduce PVC based repo-host for pgbackrest
Apr 16, 2024
4d31597
fixed path for crt and key in postgres-pod (pvc mode pgbackrest) and …
Schmaetz Apr 26, 2024
58d29ab
spilo-role label changed to member.cpo.opensource.cybertec.at/role
Schmaetz Apr 29, 2024
011b29c
Edit env in pg pod and implement sync operation
May 2, 2024
162b738
Merge branch 'v0.7.0-dev' into backup_pvc
RafiaSabih May 7, 2024
ad92515
Fixes after merge
May 7, 2024
55e3543
Improve the RepoHost object creation in case of multiple such repos
May 8, 2024
0d19e6e
Fix nil pointer issue
May 8, 2024
0c04180
Fix nil pointers
May 8, 2024
9bbf039
Delete pvc repo,etc. at Delete cluster
May 14, 2024
8b4af8e
PVC code cert management fixes (#38)
ants May 15, 2024
5d1a145
changed ENV PGBACKREST_SERVER to PGBACKREST_REPOHOST
Schmaetz May 15, 2024
d3ea1a6
change default settings for restore configmap
Schmaetz May 15, 2024
9127faf
modified env for repohost
Schmaetz May 15, 2024
f828129
modified env for repohost
Schmaetz May 15, 2024
1f0dcf8
updated pgBackRest-Job ENV
Schmaetz May 16, 2024
c208745
Fix labels and selectors
May 16, 2024
6fc5abb
Fix selector for cronjob
May 16, 2024
47b35b8
updated Logo
Schmaetz May 16, 2024
36c1d2b
changes size of Logo
Schmaetz May 16, 2024
b8425d0
Update Readme
Schmaetz May 16, 2024
6ced9fd
Sync repohost config at update
May 16, 2024
d4b5169
Only wait for database pods to be ready
ants May 17, 2024
0c55732
Delete main sts before backup repository sts
ants May 17, 2024
253d166
Move pieces of repo sts generation closer together
ants May 21, 2024
1154c62
Refactor Sts comparison to take old version as parameter
ants May 21, 2024
fbd7d4d
Make cluster domain configurable
ants May 21, 2024
b8d0280
Refactor repo-host syncing so secrets and PVCs don't get dropped
ants May 21, 2024
ee0c1df
Segfault due to missing early out when backups not needed
ants May 21, 2024
85b8f5e
Missed parameterizing one reference to oldSts in compareStatefulSetWith
ants May 21, 2024
1f8edae
Replacing another missed reference to c.Statefulset in compareStatefu…
ants May 21, 2024
29f94d8
Missing &
ants May 21, 2024
6432e7a
Fix sync of sts
May 17, 2024
f2f8111
Sync sts when changes in secrets
May 22, 2024
7491077
Add capability for quick dev builds
ants May 22, 2024
aa4c8f9
Backup cronjob generation fixes
ants May 22, 2024
8a08c60
Fix backup jobs for repos not named repo1
ants May 22, 2024
2a4a701
Update CRD in manifests folder
ants May 22, 2024
3e374ed
Pass RepoHost to generatePodTemplate as function parameter
ants May 22, 2024
af056c8
Change restore format in CRD
ants May 22, 2024
116a2f2
Rework pgbackrest restore handling
ants May 29, 2024
2b0e34f
Wait for restored cluster to become leader before starting replicas
ants May 29, 2024
1449bd1
Separate out pgbackrest certificates into their own volume
ants May 30, 2024
25b1707
Refactor backrest config volume generation and fix repo host volumes
ants May 31, 2024
fac7246
Merge pull request #35 from cybertec-postgresql/backup_pvc
Schmaetz May 31, 2024
5252d71
Repo host rolling update is taken care of by the STS controller
ants May 31, 2024
ffa6772
Detect volume changes when syncing statefulsets
ants May 31, 2024
aa883a2
added icu to initdb-func
Schmaetz Jun 12, 2024
6799b36
Merge pull request #37 from cybertec-postgresql/dependabot/pip/ui/wer…
Schmaetz Jun 14, 2024
f1da056
Merge pull request #36 from cybertec-postgresql/dependabot/go_modules…
Schmaetz Jun 14, 2024
49e2965
Bump requests from 2.31.0 to 2.32.2 in /ui
dependabot[bot] Jun 14, 2024
b44a5c3
Merge pull request #40 from cybertec-postgresql/dependabot/pip/ui/req…
Schmaetz Jun 14, 2024
5bedace
icu
Schmaetz Jun 14, 2024
66c3fdb
crypto updated
Schmaetz Jun 14, 2024
5c6e9a1
updated client-go@kuberneted to 1.28.7
Schmaetz Jun 14, 2024
efdbe2b
GO updated
Schmaetz Jun 14, 2024
150fbca
updated kubectl_pg - go.mod and go.sum
Schmaetz Jun 17, 2024
26303da
added changes from @ants to update to go v.1.21.7
Schmaetz Jun 17, 2024
de14d46
updated tests to go 1.21.7
Schmaetz Jun 17, 2024
78e3813
updated tests
Schmaetz Jun 17, 2024
e461377
updated tests
Schmaetz Jun 17, 2024
1f5b678
Merge pull request #44 from cybertec-postgresql/fixtests
Schmaetz Jun 17, 2024
961f5dc
updated tests
Schmaetz Jun 17, 2024
5608432
fix printout error
Schmaetz Jun 17, 2024
1972440
Removed RunAsUser/RunAsGroup
Schmaetz Jun 18, 2024
c05d9cc
Fix for labels selector
Jun 27, 2024
0c6c76f
Merge pull request #46 from cybertec-postgresql/test_fix
Schmaetz Jul 2, 2024
6b614b0
Merge pull request #45 from cybertec-postgresql/fixPoolerSecurityContext
Schmaetz Jul 2, 2024
9eb04dd
Merge pull request #41 from cybertec-postgresql/icu
Schmaetz Jul 2, 2024
dfe68f2
Merge branch 'main' into v0.7.0-dev
Schmaetz Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pkg/cluster/k8sres.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,11 @@ func generateSpiloJSONConfiguration(pg *cpov1.PostgresqlParam, patroni *cpov1.Pa
config.Bootstrap = pgBootstrap{}

config.Bootstrap.Initdb = []interface{}{map[string]string{"auth-host": "scram-sha-256"},
map[string]string{"auth-local": "trust"}}
map[string]string{"auth-local": "trust"},
map[string]string{"encoding": "UTF8"},
map[string]string{"locale": "en_US.UTF-8"},
map[string]string{"locale-provider": "icu"},
map[string]string{"icu-locale": "en_US"}}
if enableTDE {
config.Bootstrap.Initdb = append(config.Bootstrap.Initdb, map[string]string{"encryption-key-command": "/scripts/pgee/tde.sh"})
}
Expand Down