Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

TCE Package Repository is validated with newest Carvel APIs #1116

Closed
4 tasks done
joshrosso opened this issue Jul 19, 2021 · 1 comment · Fixed by #1226
Closed
4 tasks done

TCE Package Repository is validated with newest Carvel APIs #1116

joshrosso opened this issue Jul 19, 2021 · 1 comment · Fixed by #1226
Assignees
Labels
kind/feature A request for a new feature owner/packages Work executed by a package's maintainer
Milestone

Comments

@joshrosso
Copy link
Contributor

joshrosso commented Jul 19, 2021

Feature Request

Now that TCE is built on top of the head of tanzu-framework, we should be able to leverage kapp-controller 0.20+ and the newest Carvel APIs. Work has been completed to update the package configuration source appropriately, but now we need to validate that we can:

  • Push TCE's package repository as an OCI bundle
  • Update references in TCE's package repository to the newest packages
  • Verify packages can be installed
  • Update TCE documentation to reflect CLI changes
@joshrosso joshrosso added owner/packages Work executed by a package's maintainer kind/feature A request for a new feature labels Jul 19, 2021
@joshrosso joshrosso added this to the v0.7.0 milestone Jul 19, 2021
@seemiller
Copy link
Contributor

Generated new package repo for testing:

projects.registry.vmware.com/tce/main@sha256:07ce9869b7aef14fdb266d80b91f0b7dab48049222e66dfae8a6de5e11cfe

Install repo

tanzu package repository add repo --url projects.registry.vmware.com/tce/main@sha256:07ce9869b7aef14fdb266d80b91f0b7dab48049222e66dfae8a6de5e11cfe6a6 --namespace default
Added package repository 'repo'

View available packages

tanzu package available list
| Retrieving available packages...
  NAME                                           DISPLAY-NAME        SHORT-DESCRIPTION
  cert-manager.community.tanzu.vmware.com        cert-manager        Certificate management
  contour-operator.community.tanzu.vmware.com    contour-operator    Layer 7 Ingress
  contour.community.tanzu.vmware.com             Contour             An ingress controller
  external-dns.community.tanzu.vmware.com        external-dns        This package provides DNS synchronization functionality.
  fluent-bit.community.tanzu.vmware.com          fluent-bit          Fluent Bit is a fast Log Processor and Forwarder
  gatekeeper.community.tanzu.vmware.com          gatekeeper          policy management
  grafana.community.tanzu.vmware.com             grafana             Visualization and analytics software
  harbor.community.tanzu.vmware.com              Harbor              OCI Registry
  knative-serving.community.tanzu.vmware.com     knative-serving     Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers
  local-path-storage.community.tanzu.vmware.com  local-path-storage  This package provides local path node storage and primarily supports RWO AccessMode.
  multus-cni.community.tanzu.vmware.com          multus-cni          This package provides the ability for enabling attaching multiple network interfaces to pods in Kubernetes
  prometheus.community.tanzu.vmware.com          prometheus          A time series database for your metrics
  velero.community.tanzu.vmware.com              velero              Disaster recovery capabilities

Get metadata for a package

tanzu package available get contour-operator.community.tanzu.vmware.com
\ Retrieving package details for contour-operator.community.tanzu.vmware.com...
  NAME:               contour-operator.community.tanzu.vmware.com
  DISPLAY-NAME:       contour-operator
  SHORT-DESCRIPTION:  Layer 7 Ingress
  PACKAGE-PROVIDER:   VMware
  LONG-DESCRIPTION:   Layer 7 Ingress
  MAINTAINERS:        [{Nicholas Seemiller}]

Get available versions for a package

tanzu package available list contour-operator.community.tanzu.vmware.com
/ Retrieving package versions for contour-operator.community.tanzu.vmware.com...
  NAME                                         VERSION  RELEASED-AT
  contour-operator.community.tanzu.vmware.com  1.15.1
  contour-operator.community.tanzu.vmware.com  1.16.0

Install a package

tanzu package install contour-operator --package-name contour-operator.community.tanzu.vmware.com --version 1.16.0
| Installing package 'contour-operator.community.tanzu.vmware.com'
/ Getting package metadata for contour-operator.community.tanzu.vmware.com
- Creating service account 'contour-operator-default-sa'
\ Creating cluster admin role 'contour-operator-default-cluster-role'

- Creating package resource
/ Package install status: Reconciling

 Added installed package 'contour-operator' in namespace 'default'

List installed packages

tanzu package installed list
/ Retrieving installed packages...
  NAME              PACKAGE-NAME                                 PACKAGE-VERSION  STATUS
  contour-operator  contour-operator.community.tanzu.vmware.com  1.16.0           Reconcile succeeded

Delete installed package

 tanzu package installed delete contour-operator
| Uninstalling package 'contour-operator' from namespace 'default'
/ Getting package install for 'contour-operator'
\ Deleting package install 'contour-operator' from namespace 'default'
\ Package uninstall status: Deleting
| Deleting admin role 'contour-operator-default-cluster-role'
/ Deleting role binding 'contour-operator-default-cluster-rolebinding'
- Deleting service account 'contour-operator-default-sa'
 Uninstalled package 'contour-operator' from namespace 'default'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature A request for a new feature owner/packages Work executed by a package's maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants