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