---
apiVersion: gravitee.io/v1alpha1
kind: ApiDefinition
metadata:
name: echo-api-declarative-qa
spec:
name: "Echo API Declarative my test"
version: "2.0"
contextRef:
name: "qa"
state: "STARTED"
lifecycle_state: "PUBLISHED"
description: "Gravitee Kubernetes Operator sample"
local: false
plans:
- name: "KEY_LESS"
description: "FREE"
security: "KEY_LESS"
tags:
- "test"
visibility: "PRIVATE"
tags:
- "test"
proxy:
virtual_hosts:
- host: "gravitee-poc.example.com"
override_entrypoint: true
path: "/echo-api"
groups:
- endpoints:
- name: "Default"
target: "https://api.gravitee.io/echo"
api definitions in crd-catalog: https://github.com/datreeio/CRDs-catalog/tree/main/gravitee.io
kubeconform:
$ kubeconform -schema-location default -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' api-one/api-qa.yaml
api-one/api-qa.yaml - ApiDefinition echo-api-declarative-qa failed validation: could not find schema for ApiDefinition
api definitions in crd-catalog: https://github.com/datreeio/CRDs-catalog/tree/main/gravitee.io
kubeconform: