apiVersion: service.aep.asag.io/v1
kind: Definition
metadata:
  namespace: asag
  name: lamp-operator-0.1.2
spec:
  name: lamp-operator
  version: 0.1.2
  includes:
    - vendor: asag
      name: defaults-operator
      version: 0.2.3
  clusters:
    - name: lamp-operator
      flags:
        - key: v1_role
          from: value
          value: lamp-operator
          to: label
      sizing:
        initial: 1
        minimum: 1
        maximum: 1
        increment: 0
      podspec:
        containers:
          - name: lamp-operator
            image: aep/base_jammy
      topologyqueries:
        - name: allnodes
          format: array
          flags:
            - key: operator_identifier
              value: lamp-operator
            - key: v1_role
              value: lamp
          groupby:
            - v1_clusterid
            - v1_role
          scope: global
  settings:
    - name: environment
      schema:
        default: lamp_prod
  operator:
    version: '1.0'
    flags:
      - key: operator_identifier
        from: value
        value: lamp-operator
        to: label
