|
| 1 | +apiVersion: apiextensions.k8s.io/v1beta1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + name: unifiedpushservers.push.aerogear.org |
| 5 | +spec: |
| 6 | + group: push.aerogear.org |
| 7 | + names: |
| 8 | + kind: UnifiedPushServer |
| 9 | + listKind: UnifiedPushServerList |
| 10 | + plural: unifiedpushservers |
| 11 | + shortNames: |
| 12 | + - ups |
| 13 | + singular: unifiedpushserver |
| 14 | + scope: Namespaced |
| 15 | + subresources: |
| 16 | + status: {} |
| 17 | + validation: |
| 18 | + openAPIV3Schema: |
| 19 | + properties: |
| 20 | + apiVersion: |
| 21 | + description: 'APIVersion defines the versioned schema of this representation |
| 22 | + of an object. Servers should convert recognized schemas to the latest |
| 23 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources' |
| 24 | + type: string |
| 25 | + kind: |
| 26 | + description: 'Kind is a string value representing the REST resource this |
| 27 | + object represents. Servers may infer this from the endpoint the client |
| 28 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' |
| 29 | + type: string |
| 30 | + metadata: |
| 31 | + type: object |
| 32 | + spec: |
| 33 | + properties: |
| 34 | + affinity: |
| 35 | + type: object |
| 36 | + backups: |
| 37 | + description: Backups is an array of configs that will be used to create |
| 38 | + CronJob resource instances |
| 39 | + items: |
| 40 | + properties: |
| 41 | + backendSecretName: |
| 42 | + description: BackendSecretName is the name of a secret containing |
| 43 | + storage backend details, such as "AWS_S3_BUCKET_NAME", "AWS_ACCESS_KEY_ID", |
| 44 | + and "AWS_SECRET_ACCESS_KEY" |
| 45 | + type: string |
| 46 | + backendSecretNamespace: |
| 47 | + description: BackendSecretNamespace is the name of the namespace |
| 48 | + that the secret referenced in BackendSecretName resides in |
| 49 | + type: string |
| 50 | + encryptionKeySecretName: |
| 51 | + description: EncryptionKeySecretName is the name of a secret containing |
| 52 | + PGP/GPG details, including "GPG_PUBLIC_KEY", "GPG_TRUST_MODEL", |
| 53 | + and "GPG_RECIPIENT" |
| 54 | + type: string |
| 55 | + encryptionKeySecretNamespace: |
| 56 | + description: EncryptionKeySecretNamespace is the name of the namespace |
| 57 | + that the secret referenced in EncryptionKeySecretName resides |
| 58 | + in |
| 59 | + type: string |
| 60 | + name: |
| 61 | + description: Name is the name that will be given to the resulting |
| 62 | + CronJob |
| 63 | + type: string |
| 64 | + schedule: |
| 65 | + description: Schedule is the schedule that the job will be run |
| 66 | + at, in cron format |
| 67 | + type: string |
| 68 | + required: |
| 69 | + - name |
| 70 | + - schedule |
| 71 | + - backendSecretName |
| 72 | + type: object |
| 73 | + type: array |
| 74 | + database: |
| 75 | + description: Database allows specifying the external PostgreSQL details |
| 76 | + directly in the CR. Only one of Database or DatabaseSecret should |
| 77 | + be specified, and ExternalDB must be true, otherwise a new PostgreSQL |
| 78 | + instance will be created (and deleted) on the cluster automatically. |
| 79 | + properties: |
| 80 | + host: |
| 81 | + description: Host for external database support |
| 82 | + type: string |
| 83 | + name: |
| 84 | + description: Name for external database support |
| 85 | + type: string |
| 86 | + password: |
| 87 | + description: Password for external database support |
| 88 | + type: string |
| 89 | + port: |
| 90 | + anyOf: |
| 91 | + - type: string |
| 92 | + - type: integer |
| 93 | + description: Port for external database support |
| 94 | + user: |
| 95 | + description: User for external database support |
| 96 | + type: string |
| 97 | + type: object |
| 98 | + databaseSecret: |
| 99 | + description: 'DatabaseSecret allows reading the external PostgreSQL |
| 100 | + details from a pre-existing Secret (ExternalDB must be true for it |
| 101 | + to be used). Only one of Database or DatabaseSecret should be specified, |
| 102 | + and ExternalDB must be true, otherwise a new PostgreSQL instance will |
| 103 | + be created (and deleted) on the cluster automatically. Here''s an |
| 104 | + example of all of the fields that the secret must contain: POSTGRES_DATABASE: |
| 105 | + sampledb POSTGRES_HOST: 172.30.139.148 POSTGRES_PORT: "5432" POSTGRES_USERNAME: |
| 106 | + userMSM POSTGRES_PASSWORD: RmwWKKIM7or7oJig POSTGRES_SUPERUSER: "false" |
| 107 | + POSTGRES_VERSION: "10"' |
| 108 | + type: string |
| 109 | + externalDB: |
| 110 | + description: ExternalDB can be set to true to use details from Database |
| 111 | + and connect to external db |
| 112 | + type: boolean |
| 113 | + oAuthResourceRequirements: |
| 114 | + type: object |
| 115 | + postgresPVCSize: |
| 116 | + description: PVC size for Postgres service |
| 117 | + type: string |
| 118 | + postgresResourceRequirements: |
| 119 | + type: object |
| 120 | + tolerations: |
| 121 | + items: |
| 122 | + type: object |
| 123 | + type: array |
| 124 | + unifiedPushResourceRequirements: |
| 125 | + type: object |
| 126 | + useMessageBroker: |
| 127 | + description: UseMessageBroker can be set to true to use managed queues, |
| 128 | + if you are using enmasse. Defaults to false. |
| 129 | + type: boolean |
| 130 | + type: object |
| 131 | + status: |
| 132 | + properties: |
| 133 | + message: |
| 134 | + description: Message is a more human-readable message indicating details |
| 135 | + about current phase or error. |
| 136 | + type: string |
| 137 | + phase: |
| 138 | + description: Phase indicates whether the CR is reconciling(good), failing(bad), |
| 139 | + or initializing. |
| 140 | + type: string |
| 141 | + ready: |
| 142 | + description: Ready is True if all resources are in a ready state and |
| 143 | + all work is done (phase should be "reconciling"). The type in the |
| 144 | + Go code here is deliberately a pointer so that we can distinguish |
| 145 | + between false and "not set", since it's an optional field. |
| 146 | + type: boolean |
| 147 | + secondaryResources: |
| 148 | + additionalProperties: |
| 149 | + items: |
| 150 | + type: string |
| 151 | + type: array |
| 152 | + description: 'SecondaryResources is a map of all the secondary resources |
| 153 | + types and names created for this CR. e.g "Deployment": [ "DeploymentName1", |
| 154 | + "DeploymentName2" ]' |
| 155 | + type: object |
| 156 | + required: |
| 157 | + - phase |
| 158 | + type: object |
| 159 | + version: v1alpha1 |
| 160 | + versions: |
| 161 | + - name: v1alpha1 |
| 162 | + served: true |
| 163 | + storage: true |
0 commit comments