Skip to content

Review how we install TDS Posgres #24

@cmoulliard

Description

@cmoulliard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions