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

Review how we install TDS Posgres #24

Open
cmoulliard opened this issue Jun 14, 2022 · 0 comments
Open

Review how we install TDS Posgres #24

cmoulliard opened this issue Jun 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@cmoulliard
Copy link
Contributor

To do

Review the existing bash script installing TDS Postgres Operator to use the tanzu client and not Helm anymore.
The steps will require to 👍🏻

  • Relocate the TDS package
  • Create and export a secret to access the private registry
  • Install the Package repository
  • Create a config file
  • Deploy the operator using the TDS postgres package

Example

imgpkg copy -b registry.tanzu.vmware.com/packages-for-vmware-tanzu-data-services/tds-packages:1.0.2 --to-repo registry.harbor.10.0.77.176.nip.io:32443/tds/tds-packages
tanzu package repository add tanzu-data-services-repository --url registry.harbor.10.0.77.176.nip.io:32443/tds/tds-packages -n tap-install

tanzu secret registry add harbor-secret \
    --username <MY-REGISTRY-USERNAME> \
    --password <MY-REGISTRY-PASSWORD> \
    --server <MY-REGISTRY> \
    --export-to-all-namespaces --yes

cat <<EOF > tanzu/tds-values.yml
dockerRegistrySecretName: harbor-secret
resources:
  limits:
    cpu: 500m
    memory: 300Mi
  requests:
    cpu: 500m
    memory: 300Mi
EOF        
tanzu package install tds-postgres -p postgres-operator.sql.tanzu.vmware.com -v 1.7.3 -n tap-install -f tanzu/tds-values.yml
@cmoulliard cmoulliard added the enhancement New feature or request label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant