83 lines
2.9 KiB
YAML
83 lines
2.9 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.17.3
|
|
name: postgresteams.acid.zalan.do
|
|
spec:
|
|
group: acid.zalan.do
|
|
names:
|
|
categories:
|
|
- all
|
|
kind: PostgresTeam
|
|
listKind: PostgresTeamList
|
|
plural: postgresteams
|
|
shortNames:
|
|
- pgteam
|
|
singular: postgresteam
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: PostgresTeam defines Custom Resource Definition Object for team
|
|
management.
|
|
properties:
|
|
apiVersion:
|
|
description: |-
|
|
APIVersion defines the versioned schema of this representation of an object.
|
|
Servers should convert recognized schemas to the latest internal value, and
|
|
may reject unrecognized values.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
type: string
|
|
kind:
|
|
description: |-
|
|
Kind is a string value representing the REST resource this object represents.
|
|
Servers may infer this from the endpoint the client submits requests to.
|
|
Cannot be updated.
|
|
In CamelCase.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
description: PostgresTeamSpec defines the specification for the PostgresTeam
|
|
TPR.
|
|
properties:
|
|
additionalMembers:
|
|
additionalProperties:
|
|
description: List of users who will also be added to the Postgres
|
|
cluster.
|
|
items:
|
|
type: string
|
|
type: array
|
|
description: Map for teamId and associated additional users
|
|
type: object
|
|
additionalSuperuserTeams:
|
|
additionalProperties:
|
|
description: List of teams to become Postgres superusers
|
|
items:
|
|
type: string
|
|
type: array
|
|
description: Map for teamId and associated additional superuser teams
|
|
type: object
|
|
additionalTeams:
|
|
additionalProperties:
|
|
description: List of teams whose members will also be added to the
|
|
Postgres cluster.
|
|
items:
|
|
type: string
|
|
type: array
|
|
description: Map for teamId and associated additional teams
|
|
type: object
|
|
type: object
|
|
required:
|
|
- metadata
|
|
- spec
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|