Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 743 Bytes

cluster-pod-convention.md

File metadata and controls

20 lines (17 loc) · 743 Bytes

ClusterPodConvention

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 currently the only way to define conventions.

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