diff --git a/graphql-schemas/schema.yml b/graphql-schemas/schema.yml index c923ab86..01f740e7 100644 --- a/graphql-schemas/schema.yml +++ b/graphql-schemas/schema.yml @@ -2595,6 +2595,8 @@ confs: - { name: labels, type: json } - { name: name, type: string, isRequired: true, isSearchable: true, isUnique: true } - { name: description, type: string, isRequired: true } + - { name: app, type: App_v1 } + - { name: environment, type: Environment_v1 } - { name: openshiftResources, type: NamespaceOpenshiftResource_v1, isList: true, isInterface: true, isRequired: true } - { name: openshiftServiceAccountTokens, type: ServiceAccountTokenSpec_v1, isList: true } - { name: glitchtipProjects, type: GlitchtipProject_v1, isList: true } diff --git a/schemas/openshift/shared-resources-1.yml b/schemas/openshift/shared-resources-1.yml index 7a35fed6..a53cc8bb 100644 --- a/schemas/openshift/shared-resources-1.yml +++ b/schemas/openshift/shared-resources-1.yml @@ -19,6 +19,14 @@ properties: description: type: string + app: + "$ref": "/common-1.json#/definitions/crossref" + "$schemaRef": "/app-sre/app-1.yml" + + environment: + "$ref": "/common-1.json#/definitions/crossref" + "$schemaRef": "/app-sre/environment-1.yml" + openshiftResources: type: array items: