apiVersion: metacontroller.k8s.io/v1alpha1
kind: CompositeController
metadata:
  labels:
    app: cloud-endpoints-controller
    app.kubernetes.io/component: cloud-endpoints
    app.kubernetes.io/instance: cloud-endpoints-v1.0.0
    app.kubernetes.io/managed-by: kfctl
    app.kubernetes.io/name: cloud-endpoints
    app.kubernetes.io/part-of: kubeflow
    app.kubernetes.io/version: v1.0.0
    kustomize.component: cloud-endpoints
  name: cloud-endpoints-controller
  namespace: kubeflow
spec:
  childResources: []
  clientConfig:
    service:
      caBundle: '...'
      name: cloud-endpoints-controller
      namespace: kubeflow
  generateSelector: true
  hooks:
    sync:
      webhook:
        url: http://cloud-endpoints-controller.kubeflow/sync
  parentResource:
    apiVersion: ctl.isla.solutions/v1
    resource: cloudendpoints
  resyncPeriodSeconds: 2
