ClusterPodConvention defines a way to connect to convention servers. It provides a way to apply a set of conventions to a PodTemplateSpec and the artifact metadata. A convention will typically focus on a particular application framework, but may be cross cutting. Applied conventions must be pure functions.

Webhook servers are the only way to define conventions currently.

apiVersion: conventions.apps.tanzu.vmware.com/v1alpha1
kind: ClusterPodConvention
metadata:
  name: base-convention
  annotations:
    conventions.apps.tanzu.vmware.com/inject-ca-from: "convention-template/webhook-cert"
spec:
  webhook:
    clientConfig:
      service:
        name: webhook
        namespace: convention-template
check-circle-line exclamation-circle-line close-line
Scroll to top icon