apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
  annotations:
    alm-examples: |-
      [{
        "apiVersion": "nmstate.io/v1beta1",
        "kind": "NMState",
        "metadata": {
          "name": "nmstate"
        },
        "spec": {
          "nodeSelector": {
            "beta.kubernetes.io/arch": "amd64"
          }
        }
      }]
    capabilities: Basic Install
    certified: "false"
    categories: OpenShift Optional
    description: |
      Kubernetes NMState is a declaritive means of configuring NetworkManager.
    containerImage: quay.io/openshift/origin-kubernetes-nmstate-operator:4.7
    createdAt: 2020-011-12 17:13:03
    olm.skipRange: ">=4.3.0-0 < 4.7.0-0"
    support: Red Hat, Inc.
    repository: https://github.com/openshift/kubernetes-nmstate
  name: kubernetes-nmstate-operator.v4.7.0
  namespace: openshift-nmstate
spec:
  apiservicedefinitions: {}
  customresourcedefinitions:
    owned:
    - kind: NMState
      name: nmstates.nmstate.io
      version: v1beta1
      description: Represents an NMState deployment.
      displayName: NMState
  description: A Kubernetes Operator to install Kubernetes NMState
  displayName: Kubernetes NMState Operator
  icon:
    - base64data: >-
        [encoded data, 8588 characters]
      mediatype: image/svg+xml
  install:
    spec:
      clusterPermissions:
      - rules:
        - apiGroups:
          - admissionregistration.k8s.io
          resources:
          - mutatingwebhookconfigurations
          verbs:
          - '*'
        - apiGroups:
          - rbac.authorization.k8s.io
          resources:
          - clusterroles
          - clusterrolebindings
          - rolebindings
          - roles
          verbs:
          - '*'
        - apiGroups:
          - nmstate.io
          resources:
          - '*'
          verbs:
          - '*'
        - apiGroups:
          - apiextensions.k8s.io
          resources:
          - '*'
          verbs:
          - '*'
        - apiGroups:
          - apps
          resources:
          - deployments
          - daemonsets
          - replicasets
          - statefulsets
          verbs:
          - '*'
        - apiGroups:
          - ""
          resources:
          - serviceaccounts
          - configmaps
          - namespaces
          verbs:
          - '*'
        - apiGroups:
          - security.openshift.io
          resources:
          - securitycontextconstraints
          verbs:
          - use
          resourceNames:
          - privileged
        serviceAccountName: nmstate-operator
      deployments:
      - name: nmstate-operator
        spec:
          replicas: 1
          selector:
            matchLabels:
              name: kubernetes-nmstate-operator
          strategy: {}
          template:
            metadata:
              labels:
                app: kubernetes-nmstate-operator
                name: kubernetes-nmstate-operator
            spec:
              containers:
              - args:
                - --v=production
                command:
                - manager
                env:
                - name: WATCH_NAMESPACE
                  valueFrom:
                    fieldRef:
                      fieldPath: metadata.annotations['olm.targetNamespaces']
                - name: OPERATOR_NAME
                  value: kubernetes-nmstate-operator
                - name: ENABLE_PROFILER
                  value: "False"
                - name: PROFILER_PORT
                  value: "6060"
                - name: RUN_OPERATOR
                - name: HANDLER_IMAGE
                  value: quay.io/openshift/origin-kubernetes-nmstate-handler:4.7
                - name: HANDLER_IMAGE_PULL_POLICY
                  value: Always
                - name: HANDLER_NAMESPACE
                  value: openshift-nmstate
                image: quay.io/openshift/origin-kubernetes-nmstate-operator:4.7
                imagePullPolicy: Always
                name: nmstate-operator
                resources: {}
              nodeSelector:
                node-role.kubernetes.io/master: ""
              serviceAccountName: nmstate-operator
              tolerations:
              - effect: NoSchedule
                key: node-role.kubernetes.io/master
                operator: Exists
      permissions:
      - rules:
        - apiGroups:
          - ""
          resources:
          - services
          - endpoints
          - persistentvolumeclaims
          - events
          - configmaps
          - secrets
          - pods
          verbs:
          - '*'
        - apiGroups:
          - apps
          resources:
          - deployments
          - daemonsets
          - replicasets
          - statefulsets
          verbs:
          - '*'
        - apiGroups:
          - policy
          resources:
          - poddisruptionbudgets
          verbs:
          - '*'
        serviceAccountName: nmstate-operator
      - rules:
        - apiGroups:
          - security.openshift.io
          resources:
          - securitycontextconstraints
          verbs:
          - use
          resourceNames:
          - privileged
        serviceAccountName: nmstate-handler
    strategy: deployment
  installModes:
  - supported: true
    type: OwnNamespace
  - supported: true
    type: SingleNamespace
  - supported: false
    type: MultiNamespace
  - supported: false
    type: AllNamespaces
  keywords:
  - nmstate
  - networking
  - NetworkManager
  links:
  - name: Kubernetes Nmstate Operator
    url: https://github.com/nmstate/kubernetes-nmstate
  maintainers:
  - email: support@redhat.com
    name: Red Hat
  maturity: beta
  provider:
    name: Red Hat, Inc.
  selector:
    matchLabels:
      name: kubernetes-nmstate-operator
  version: 4.7.0
  labels:
    olm-owner-enterprise-app: kubernetes-nmstate-operator
    olm-status-descriptors: kubernetes-nmstate-operator.v4.7.0
