Skip to content
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

Update postgresql.cnpg.io CRDs #444

Merged
merged 1 commit into from
Dec 29, 2024
Merged

Update postgresql.cnpg.io CRDs #444

merged 1 commit into from
Dec 29, 2024

Conversation

fuccsoc
Copy link
Contributor

@fuccsoc fuccsoc commented Dec 25, 2024

Source of CRDs: https://github.com/cloudnative-pg/charts

vgrdkv@ubuntu:/Users/vgrdkv/Downloads/tmp$ helm upgrade --install cnpg   --namespace cnpg-system   --create-namespace   cnpg/cloudnative-pg
Release "cnpg" does not exist. Installing it now.
NAME: cnpg
LAST DEPLOYED: Wed Dec 25 11:51:01 2024
NAMESPACE: cnpg-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CloudNativePG operator should be installed in namespace "cnpg-system".
You can now create a PostgreSQL cluster with 3 nodes as follows:

cat <<EOF | kubectl apply -f -
# Example of PostgreSQL cluster
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: cluster-example

spec:
  instances: 3
  storage:
    size: 1Gi
EOF

kubectl get -A cluster
vgrdkv@ubuntu:/Users/vgrdkv/Downloads/tmp$ ./
crd-extractor.sh  get_helm.sh
vgrdkv@ubuntu:/Users/vgrdkv/Downloads/tmp$ ./crd-extractor.sh
JSON schema written to backup_v1.json
JSON schema written to clusterimagecatalog_v1.json
JSON schema written to cluster_v1.json
JSON schema written to database_v1.json
JSON schema written to imagecatalog_v1.json
JSON schema written to pooler_v1.json
JSON schema written to publication_v1.json
JSON schema written to scheduledbackup_v1.json
JSON schema written to subscription_v1.json
Successfully converted 9 CRDs to JSON schema

@eyarz eyarz merged commit d7c7950 into datreeio:main Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants