apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
  annotations:
    alm-examples: |-
      [
        {
          "apiVersion": "ptp.openshift.io/v1",
          "kind": "PtpConfig",
          "metadata": {
            "name": "ptpconfig-1",
            "namespace": "openshift-ptp"
          },
          "spec": {
            "profile": [{
                "name": "ptpconfig-profile-1",
                "interface": "eth0",
                "ptp4lOpts": "-s -2",
                "phc2sysOpts": "-a -r"
              }
            ],
            "recommend": [{
                "profile": "ptpconfig-profile-1",
                "priority": 50,
                "match": [{
                    "nodeLabel": "node-role.kubernetes.io/worker=",
                    "nodeName": "kubernetes.io/hostname=node.example.com"
                  }
                ]
              }
            ]
          }
        },
        {
          "apiVersion": "ptp.openshift.io/v1",
          "kind": "NodePtpDevice",
          "metadata": {
            "name": "node.example.com",
            "namespace": "openshift-ptp"
          },
          "spec": {}
        },
        {
          "apiVersion": "ptp.openshift.io/v1",
          "kind": "PtpOperatorConfig",
          "metadata": {
            "name": "default",
            "namespace": "openshift-ptp"
          },
          "spec": {
            "daemonNodeSelector": {}
          }
        }
      ]
    capabilities: Basic Install
    categories: Networking
    certified: "false"
    containerImage: quay.io/openshift/origin-ptp-operator:4.9
    createdAt: "2019-10-14"
    description: This software enables configuration of Precision Time Protocol(PTP)
      on Kubernetes. It detects hardware capable PTP devices on each node, and configures
      linuxptp processes such as ptp4l, phc2sys and timemaster.
    olm.skipRange: '>=4.3.0-0 <4.9.0'
    operators.openshift.io/infrastructure-features: '["disconnected"]'
    provider: Red Hat
    repository: https://github.com/openshift/ptp-operator
    support: Red Hat
  name: ptp-operator.v0.0.0
  namespace: openshift-ptp
spec:
  apiservicedefinitions: {}
  customresourcedefinitions:
    owned:
    - description: NodePtpDevice is the Schema for the nodeptpdevices API
      displayName: Node Ptp Device
      kind: NodePtpDevice
      name: nodeptpdevices.ptp.openshift.io
      version: v1
    - description: PtpConfig is the Schema for the ptpconfigs API
      displayName: Ptp Config
      kind: PtpConfig
      name: ptpconfigs.ptp.openshift.io
      version: v1
    - description: PtpOperatorConfig is the Schema for the ptpoperatorconfigs API
      displayName: Ptp Operator Config
      kind: PtpOperatorConfig
      name: ptpoperatorconfigs.ptp.openshift.io
      version: v1
  description: |
    # Precision Time Protocol (PTP) Operator for Openshift

    ## Introdution
    PTP Operator manages cluster wide PTP configuration.
    This operator has to run in namespace 'openshift-ptp'. An Operator Group is also required to install this operator:
    ```
    $ oc create -f - <<EOF
    apiVersion: v1
    kind: Namespace
    metadata:
      name: openshift-ptp
      labels:
        name: openshift-ptp
        openshift.io/cluster-monitoring: "true"
    EOF

    $ oc create -f - <<EOF
    apiVersion: operators.coreos.com/v1
    kind: OperatorGroup
    metadata:
      name: ptp-operators
      namespace: openshift-ptp
    spec:
      targetNamespaces:
      - openshift-ptp
    EOF
    ```
  displayName: PTP Operator
  icon:
  - base64data: [encoded data, 14140 characters]
    mediatype: image/png
  install:
    spec:
      deployments: null
    strategy: deployment
  installModes:
  - supported: true
    type: OwnNamespace
  - supported: true
    type: SingleNamespace
  - supported: false
    type: MultiNamespace
  - supported: false
    type: AllNamespaces
  keywords:
  - ptp
  links:
  - name: Documentation operator
    url: https://github.com/openshift/ptp-operator
  - name: Documentation operand
    url: https://github.com/openshift/linuxptp-daemon
  maintainers:
  - email: support@redhat.com
    name: Red Hat
  maturity: alpha
  provider:
    name: Red Hat
  version: 0.0.0
