Skip to content

Instantly share code, notes, and snippets.

@voor
Last active April 15, 2023 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voor/e5cdebd0c56f08afa7f9a75499833995 to your computer and use it in GitHub Desktop.
Save voor/e5cdebd0c56f08afa7f9a75499833995 to your computer and use it in GitHub Desktop.
#! variables that need to be externally configurable
#! are specified in a data values schema file
#! This file is just here to show how the values are merged together.
#@ load("@ytt:data", "data")
#@ load("@ytt:yaml", "yaml")
tap_values: #@ yaml.encode(data.values)
#! Ignore this file, it's just here to provide the schema that TAP would itself provide.
#@data/values-schema
---
#@schema/type any=True
shared:
#@schema/type any=True
contour:
#@schema/type any=True
builderservice:
#! Just a sampling of things from https://docs.vmware.com/en/VMware-Tanzu-Application-Platform/1.5/tap/install.html
#@data/values
---
shared:
ingress_domain: "INGRESS-DOMAIN"
ingress_issuer: #! Optional, can denote a cert-manager.io/v1/ClusterIssuer of your choice. Defaults to "tap-ingress-selfsigned".
image_registry:
project_path: "SERVER-NAME/REPO-NAME"
secret:
name: "KP-DEFAULT-REPO-SECRET"
namespace: "KP-DEFAULT-REPO-SECRET-NAMESPACE"
#! Just a sampling of things from https://docs.vmware.com/en/VMware-Tanzu-Application-Platform/1.5/tap/install.html
#@data/values
---
contour:
envoy:
service:
type: LoadBalancer #! This is set by default, but can be overridden by setting a different value.
buildservice:
#! Takes the value from the shared section by default, but can be overridden by setting a different value.
kp_default_repository: "KP-DEFAULT-REPO"
kp_default_repository_secret: #! Takes the value from the shared section above by default, but can be overridden by setting a different value.
name: "KP-DEFAULT-REPO-SECRET"
namespace: "KP-DEFAULT-REPO-SECRET-NAMESPACE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment