{
  "description": "Auto-generated derived type for RspamdInstanceSpec via `CustomResource`",
  "properties": {
    "spec": {
      "additionalProperties": false,
      "properties": {
        "config": {
          "additionalProperties": false,
          "description": "Optional user-provided local.d configuration input.",
          "nullable": true,
          "properties": {
            "localD": {
              "additionalProperties": false,
              "nullable": true,
              "properties": {
                "configMapRef": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "configMapRef"
              ],
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "image": {
          "description": "Complete Rspamd container image reference. The operator does not default\nthis field so operator upgrades cannot silently change the operand.",
          "type": "string"
        },
        "imagePullPolicy": {
          "description": "Kubernetes image pull policy for the Rspamd container.",
          "enum": [
            "Always",
            "IfNotPresent",
            "Never",
            null
          ],
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        },
        "imagePullSecrets": {
          "description": "Optional image pull Secrets for private Rspamd images.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "redis": {
          "additionalProperties": false,
          "description": "Existing Redis-compatible backend used by Rspamd.",
          "properties": {
            "address": {
              "description": "Redis host name or Kubernetes service DNS name.",
              "type": "string"
            },
            "passwordSecretRef": {
              "additionalProperties": false,
              "description": "Optional password Secret reference.",
              "nullable": true,
              "properties": {
                "key": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "key",
                "name"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "port": {
              "default": 6379,
              "description": "Redis TCP port.",
              "format": "uint16",
              "maximum": 65535,
              "minimum": 0,
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "required": [
            "address"
          ],
          "type": "object"
        },
        "replicas": {
          "default": 1,
          "description": "Number of Rspamd pods to run.",
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "image",
        "redis"
      ],
      "type": "object"
    },
    "status": {
      "additionalProperties": false,
      "nullable": true,
      "properties": {
        "activeRevision": {
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        },
        "conditions": {
          "items": {
            "additionalProperties": false,
            "description": "Condition contains details for one aspect of the current state of this API Resource.",
            "properties": {
              "lastTransitionTime": {
                "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "description": "message is a human readable message indicating details about the transition. This may be an empty string.",
                "type": "string"
              },
              "observedGeneration": {
                "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
                "format": "int64",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "reason": {
                "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.",
                "type": "string"
              },
              "status": {
                "description": "status of the condition, one of True, False, Unknown.",
                "type": "string"
              },
              "type": {
                "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                "type": "string"
              }
            },
            "required": [
              "lastTransitionTime",
              "message",
              "reason",
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "controllerCredentialsSecret": {
          "nullable": true,
          "type": [
            "string",
            "null"
          ]
        },
        "observedGeneration": {
          "format": "int64",
          "nullable": true,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "title": "RspamdInstance",
  "type": "object"
}