Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Software CRD

The software CRD  will install the required software, drivers and perform software updates

Draft Software CRD

Code Block
languageyml
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: software.bpa.akraino.org
spec:
  group: bpa.akraino.org
  names:
    kind: software
    listKind: softwarerList
    plural: software
    singular: software
    shortNames:
    - su
  scope: Namespaced
  subresources:
    status: {}
  validation:
    openAPIV3Schema:
      properties:
        apiVersion:
          description: 
          type: string
        kind:
          description: 
          type: string
        metadata:
          type: object
        spec:
          type: object
        status:
          type: object
  version: v1alpha1
  versions:
  - name: v1alpha1
    served: true
    storage: true

 Sample Software CR YAML files


Code Block
languageyml
apiVersion: bpa.akraino.org/v1alpha1
kind: software
metadata:
  name: software-sample
  labels:
    cluster: cluster-abc
    owner: c1
spec:
  master:
    softwareFrom:
      - configMapRef:
         name: master-configmap
  worker:
     softwareFrom:
      - configMapRef:
         name: worker-configmap