yaml pf component generator

Example:

      openAPIV3Schema:
        description: NdmSpcConfig is the Schema for the ndmspcconfigs API
        properties:
          apiVersion:
            description: 'APIVersion defines the versioned schema of this representation
              of an object. Servers should convert recognized schemas to the latest
              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
            type: string
          kind:
            description: 'Kind is a string value representing the REST resource this
              object represents. Servers may infer this from the endpoint the client
              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
            type: string
          metadata:
            type: object
          spec:
            description: Spec defines the desired state of NdmSpcConfig
            properties:
              executor:
                description: ExecutorSpec defines the desired state of Executor
                properties:
                  host:
                    default: executor.127.0.0.1.nip.io
                    description: Hostname used for ingress
                    type: string
                  image:
                    default: registry.gitlab.com/ndmspc/api:v0.1.1
                    description: Custom Executor image
                    type: string
                type: object
              executors:
                default: 1
                description: Desired number of Executor pods
                type: integer
              salsa:
                description: SalsaSpec defines the desired state of Salsa
                properties:
                  image:
                    default: registry.gitlab.com/ndmspc/salsa:v0.4.11
                    description: Custom SALSA image
                    type: string
                  worker:
                    description: SALSA worker customization
                    properties:
                      resources:
                        description: SALSA worker resources
                        properties:
                          limits:
                            description: SALSA worker resources limits
                            properties:
                              cpu:
                                default: "1"
                                description: SALSA worker cpu limits
                                type: string
                              memory:
                                default: 2Gi
                                description: SALSA worker memory limits
                                type: string
                            type: object
                          requests:
                            description: SALSA worker resources requests
                            properties:
                              cpu:
                                default: 500m
                                description: SALSA worker cpu request
                                type: string
                              memory:
                                default: 1Gi
                                description: SALSA worker memory request
                                type: string
                            type: object
                        type: object
                    type: object
                type: object
              webapp:
                description: WebAppSpec defines the desired state of WebApp
                properties:
                  host:
                    default: ndmspc-web.127.0.0.1.nip.io
                    description: Hostname used for ingress
                    type: string
                  image:
                    default: registry.gitlab.com/ndmspc/react-ndmspc:v0.20230124.0
                    description: Custom WebApp image
                    type: string
                type: object
              webappContainerPort:
                default: 8080
                description: Container port used to expose WebApp (80 for nginx, 8080
                  for nginx-unprivileged)
                type: integer
              webapps:
                default: 1
                description: Desired number of WebApp pods
                type: integer
              workers:
                default: 2
                description: Desired number of Salsa worker pods
                type: integer
              zmq2ws:
                description: Zmq2WsSpec defines the desired state of Zmq2ws
                properties:
                  host:
                    default: zmq2ws.127.0.0.1.nip.io
                    description: Hostname used for ingress
                    type: string
                  image:
                    default: registry.gitlab.com/ndmspc/zmq2ws:v1.0.0
                    description: Custom Zmq2ws image
                    type: string
                type: object
            type: object
            x-kubernetes-preserve-unknown-fields: true
          status:
            description: Status defines the observed state of NdmSpcConfig
            type: object
            x-kubernetes-preserve-unknown-fields: true
        type: object
Edited by Martin Vala