|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.14.0 |
| 6 | + creationTimestamp: null |
| 7 | + name: patterns.gitops.hybrid-cloud-patterns.io |
| 8 | +spec: |
| 9 | + group: gitops.hybrid-cloud-patterns.io |
| 10 | + names: |
| 11 | + kind: Pattern |
| 12 | + listKind: PatternList |
| 13 | + plural: patterns |
| 14 | + shortNames: |
| 15 | + - patt |
| 16 | + singular: pattern |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - jsonPath: .status.lastStep |
| 21 | + name: Step |
| 22 | + priority: 1 |
| 23 | + type: string |
| 24 | + - jsonPath: .status.lastError |
| 25 | + name: Error |
| 26 | + priority: 2 |
| 27 | + type: string |
| 28 | + name: v1alpha1 |
| 29 | + schema: |
| 30 | + openAPIV3Schema: |
| 31 | + description: Pattern is the Schema for the patterns API |
| 32 | + properties: |
| 33 | + apiVersion: |
| 34 | + description: |- |
| 35 | + APIVersion defines the versioned schema of this representation of an object. |
| 36 | + Servers should convert recognized schemas to the latest internal value, and |
| 37 | + may reject unrecognized values. |
| 38 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 39 | + type: string |
| 40 | + kind: |
| 41 | + description: |- |
| 42 | + Kind is a string value representing the REST resource this object represents. |
| 43 | + Servers may infer this from the endpoint the client submits requests to. |
| 44 | + Cannot be updated. |
| 45 | + In CamelCase. |
| 46 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 47 | + type: string |
| 48 | + metadata: |
| 49 | + type: object |
| 50 | + spec: |
| 51 | + description: PatternSpec defines the desired state of Pattern |
| 52 | + properties: |
| 53 | + analyticsUUID: |
| 54 | + description: Analytics UUID. Leave empty to autogenerate a random |
| 55 | + one. Not PII information |
| 56 | + type: string |
| 57 | + clusterGroupName: |
| 58 | + type: string |
| 59 | + experimentalCapabilities: |
| 60 | + description: Comma separated capabilities to enable certain experimental |
| 61 | + features |
| 62 | + type: string |
| 63 | + extraParameters: |
| 64 | + description: |- |
| 65 | + .Name is dot separated per the helm --set syntax, such as: |
| 66 | + global.something.field |
| 67 | + items: |
| 68 | + properties: |
| 69 | + name: |
| 70 | + type: string |
| 71 | + value: |
| 72 | + type: string |
| 73 | + required: |
| 74 | + - name |
| 75 | + - value |
| 76 | + type: object |
| 77 | + type: array |
| 78 | + extraValueFiles: |
| 79 | + description: URLs to additional Helm parameter files |
| 80 | + items: |
| 81 | + type: string |
| 82 | + type: array |
| 83 | + gitOpsSpec: |
| 84 | + properties: |
| 85 | + manualSync: |
| 86 | + description: 'Require manual intervention before Argo will sync |
| 87 | + new content. Default: False' |
| 88 | + type: boolean |
| 89 | + type: object |
| 90 | + gitSpec: |
| 91 | + properties: |
| 92 | + hostname: |
| 93 | + description: Optional. FQDN of the git server if automatic parsing |
| 94 | + from TargetRepo is broken |
| 95 | + type: string |
| 96 | + inClusterGitServer: |
| 97 | + default: false |
| 98 | + description: (EXPERIMENTAL) Enable in-cluster git server (avoids |
| 99 | + the need of forking the upstream repository) |
| 100 | + type: boolean |
| 101 | + originRepo: |
| 102 | + description: |- |
| 103 | + Upstream git repo containing the pattern to deploy. Used when in-cluster fork to point to the upstream pattern repository. |
| 104 | + Takes precedence over TargetRepo |
| 105 | + type: string |
| 106 | + originRevision: |
| 107 | + description: (DEPRECATED) Branch, tag or commit in the upstream |
| 108 | + git repository. Does not support short-sha's. Default to HEAD |
| 109 | + type: string |
| 110 | + pollInterval: |
| 111 | + default: 180 |
| 112 | + description: 'Interval in seconds to poll for drifts between origin |
| 113 | + and target repositories. Default: 180 seconds' |
| 114 | + type: integer |
| 115 | + targetRepo: |
| 116 | + description: Git repo containing the pattern to deploy. Must use |
| 117 | + https/http or, for ssh, git@server:foo/bar.git |
| 118 | + type: string |
| 119 | + targetRevision: |
| 120 | + description: 'Branch, tag, or commit to deploy. Does not support |
| 121 | + short-sha''s. Default: HEAD' |
| 122 | + type: string |
| 123 | + tokenSecret: |
| 124 | + description: |- |
| 125 | + Optional. K8s secret name where the info for connecting to git can be found. The supported secrets are modeled after the |
| 126 | + private repositories in argo (https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#repositories) |
| 127 | + currently ssh and username+password are supported |
| 128 | + type: string |
| 129 | + tokenSecretNamespace: |
| 130 | + description: Optional. K8s secret namespace where the token for |
| 131 | + connecting to git can be found |
| 132 | + type: string |
| 133 | + type: object |
| 134 | + multiSourceConfig: |
| 135 | + properties: |
| 136 | + clusterGroupChartGitRevision: |
| 137 | + default: main |
| 138 | + description: |- |
| 139 | + The git reference when deploying the clustergroup helm chart directly from a git repo |
| 140 | + Defaults to 'main'. (Only used when developing the clustergroup helm chart) |
| 141 | + type: string |
| 142 | + clusterGroupChartVersion: |
| 143 | + description: Which chart version for the clustergroup helm chart. |
| 144 | + Defaults to "0.8.*" |
| 145 | + type: string |
| 146 | + clusterGroupGitRepoUrl: |
| 147 | + description: |- |
| 148 | + The url when deploying the clustergroup helm chart directly from a git repo |
| 149 | + Defaults to '' which means not used (Only used when developing the clustergroup helm chart) |
| 150 | + type: string |
| 151 | + enabled: |
| 152 | + default: true |
| 153 | + description: (EXPERIMENTAL) Enable multi-source support when deploying |
| 154 | + the clustergroup argo application |
| 155 | + type: boolean |
| 156 | + helmRepoUrl: |
| 157 | + description: The helm chart url to fetch the helm charts from |
| 158 | + in order to deploy the pattern. Defaults to https://charts.validatedpatterns.io/ |
| 159 | + type: string |
| 160 | + type: object |
| 161 | + required: |
| 162 | + - clusterGroupName |
| 163 | + - gitSpec |
| 164 | + type: object |
| 165 | + status: |
| 166 | + description: PatternStatus defines the observed state of Pattern |
| 167 | + properties: |
| 168 | + analyticsSent: |
| 169 | + default: 0 |
| 170 | + type: integer |
| 171 | + analyticsUUID: |
| 172 | + type: string |
| 173 | + appClusterDomain: |
| 174 | + type: string |
| 175 | + applications: |
| 176 | + items: |
| 177 | + description: |- |
| 178 | + PatternApplicationInfo defines the Applications |
| 179 | + Status for the Pattern. |
| 180 | + This structure is part of the PatternStatus as an array |
| 181 | + The Application Status will be included as part of the Observed state of Pattern |
| 182 | + properties: |
| 183 | + healthMessage: |
| 184 | + type: string |
| 185 | + healthStatus: |
| 186 | + type: string |
| 187 | + name: |
| 188 | + type: string |
| 189 | + namespace: |
| 190 | + type: string |
| 191 | + syncStatus: |
| 192 | + type: string |
| 193 | + type: object |
| 194 | + type: array |
| 195 | + clusterDomain: |
| 196 | + type: string |
| 197 | + clusterID: |
| 198 | + type: string |
| 199 | + clusterName: |
| 200 | + type: string |
| 201 | + clusterPlatform: |
| 202 | + type: string |
| 203 | + clusterVersion: |
| 204 | + type: string |
| 205 | + conditions: |
| 206 | + items: |
| 207 | + properties: |
| 208 | + lastTransitionTime: |
| 209 | + description: Last time the condition transitioned from one status |
| 210 | + to another. |
| 211 | + format: date-time |
| 212 | + type: string |
| 213 | + lastUpdateTime: |
| 214 | + description: The last time this condition was updated. |
| 215 | + format: date-time |
| 216 | + type: string |
| 217 | + message: |
| 218 | + description: A human readable message indicating details about |
| 219 | + the transition. |
| 220 | + type: string |
| 221 | + status: |
| 222 | + description: Status of the condition, one of True, False, Unknown. |
| 223 | + type: string |
| 224 | + type: |
| 225 | + description: Type of deployment condition. |
| 226 | + type: string |
| 227 | + required: |
| 228 | + - lastUpdateTime |
| 229 | + - status |
| 230 | + - type |
| 231 | + type: object |
| 232 | + type: array |
| 233 | + lastError: |
| 234 | + description: Last error encountered by the pattern |
| 235 | + type: string |
| 236 | + lastStep: |
| 237 | + description: Last action related to the pattern |
| 238 | + type: string |
| 239 | + path: |
| 240 | + type: string |
| 241 | + version: |
| 242 | + description: Number of updates to the pattern |
| 243 | + type: integer |
| 244 | + type: object |
| 245 | + type: object |
| 246 | + served: true |
| 247 | + storage: true |
| 248 | + subresources: |
| 249 | + status: {} |
| 250 | +status: |
| 251 | + acceptedNames: |
| 252 | + kind: "" |
| 253 | + plural: "" |
| 254 | + conditions: null |
| 255 | + storedVersions: null |
0 commit comments