|
| 1 | +# Source: eck-operator-crds/templates/all-crds.yaml |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.20.0 |
| 7 | + helm.sh/resource-policy: keep |
| 8 | + labels: |
| 9 | + app.kubernetes.io/instance: 'elastic-operator' |
| 10 | + app.kubernetes.io/name: 'eck-operator-crds' |
| 11 | + app.kubernetes.io/version: '3.3.0' |
| 12 | + name: autoopsagentpolicies.autoops.k8s.elastic.co |
| 13 | +spec: |
| 14 | + group: autoops.k8s.elastic.co |
| 15 | + names: |
| 16 | + categories: |
| 17 | + - elastic |
| 18 | + kind: AutoOpsAgentPolicy |
| 19 | + listKind: AutoOpsAgentPolicyList |
| 20 | + plural: autoopsagentpolicies |
| 21 | + shortNames: |
| 22 | + - aop |
| 23 | + singular: autoopsagentpolicy |
| 24 | + scope: Namespaced |
| 25 | + versions: |
| 26 | + - additionalPrinterColumns: |
| 27 | + - description: Ready resources |
| 28 | + jsonPath: .status.ready |
| 29 | + name: Ready |
| 30 | + type: string |
| 31 | + - jsonPath: .status.phase |
| 32 | + name: Phase |
| 33 | + type: string |
| 34 | + - jsonPath: .metadata.creationTimestamp |
| 35 | + name: Age |
| 36 | + type: date |
| 37 | + name: v1alpha1 |
| 38 | + schema: |
| 39 | + openAPIV3Schema: |
| 40 | + description: AutoOpsAgentPolicy represents an Elastic AutoOps Policy resource in a Kubernetes cluster. |
| 41 | + properties: |
| 42 | + apiVersion: |
| 43 | + description: |- |
| 44 | + APIVersion defines the versioned schema of this representation of an object. |
| 45 | + Servers should convert recognized schemas to the latest internal value, and |
| 46 | + may reject unrecognized values. |
| 47 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 48 | + type: string |
| 49 | + kind: |
| 50 | + description: |- |
| 51 | + Kind is a string value representing the REST resource this object represents. |
| 52 | + Servers may infer this from the endpoint the client submits requests to. |
| 53 | + Cannot be updated. |
| 54 | + In CamelCase. |
| 55 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 56 | + type: string |
| 57 | + metadata: |
| 58 | + type: object |
| 59 | + spec: |
| 60 | + properties: |
| 61 | + autoOpsRef: |
| 62 | + description: AutoOpsRef defines a reference to a secret containing connection details for AutoOps via Cloud Connect. |
| 63 | + properties: |
| 64 | + secretName: |
| 65 | + description: |- |
| 66 | + SecretName references a Secret containing connection details for external AutoOps. |
| 67 | + Required when connecting via Cloud Connect. The secret must contain: |
| 68 | + - `cloud-connected-mode-api-key`: Cloud Connected Mode API key |
| 69 | + - `autoops-otel-url`: AutoOps OpenTelemetry endpoint URL |
| 70 | + - `autoops-token`: AutoOps authentication token |
| 71 | + - `cloud-connected-mode-api-url`: (optional) Cloud Connected Mode API URL |
| 72 | + This field cannot be used in combination with `name`. |
| 73 | + type: string |
| 74 | + type: object |
| 75 | + image: |
| 76 | + description: Image is the AutoOps Agent Docker image to deploy. |
| 77 | + type: string |
| 78 | + podTemplate: |
| 79 | + description: PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) for the Agent pods |
| 80 | + type: object |
| 81 | + x-kubernetes-preserve-unknown-fields: true |
| 82 | + resourceSelector: |
| 83 | + description: |- |
| 84 | + ResourceSelector is a label selector for the resources to be configured. |
| 85 | + Any Elasticsearch instances that match the selector will be configured to send data to AutoOps. |
| 86 | + properties: |
| 87 | + matchExpressions: |
| 88 | + description: matchExpressions is a list of label selector requirements. The requirements are ANDed. |
| 89 | + items: |
| 90 | + description: |- |
| 91 | + A label selector requirement is a selector that contains values, a key, and an operator that |
| 92 | + relates the key and values. |
| 93 | + properties: |
| 94 | + key: |
| 95 | + description: key is the label key that the selector applies to. |
| 96 | + type: string |
| 97 | + operator: |
| 98 | + description: |- |
| 99 | + operator represents a key's relationship to a set of values. |
| 100 | + Valid operators are In, NotIn, Exists and DoesNotExist. |
| 101 | + type: string |
| 102 | + values: |
| 103 | + description: |- |
| 104 | + values is an array of string values. If the operator is In or NotIn, |
| 105 | + the values array must be non-empty. If the operator is Exists or DoesNotExist, |
| 106 | + the values array must be empty. This array is replaced during a strategic |
| 107 | + merge patch. |
| 108 | + items: |
| 109 | + type: string |
| 110 | + type: array |
| 111 | + x-kubernetes-list-type: atomic |
| 112 | + required: |
| 113 | + - key |
| 114 | + - operator |
| 115 | + type: object |
| 116 | + type: array |
| 117 | + x-kubernetes-list-type: atomic |
| 118 | + matchLabels: |
| 119 | + additionalProperties: |
| 120 | + type: string |
| 121 | + description: |- |
| 122 | + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels |
| 123 | + map is equivalent to an element of matchExpressions, whose key field is "key", the |
| 124 | + operator is "In", and the values array contains only "value". The requirements are ANDed. |
| 125 | + type: object |
| 126 | + type: object |
| 127 | + x-kubernetes-map-type: atomic |
| 128 | + revisionHistoryLimit: |
| 129 | + description: RevisionHistoryLimit is the number of revisions to retain to allow rollback in the underlying Deployment. |
| 130 | + format: int32 |
| 131 | + type: integer |
| 132 | + serviceAccountName: |
| 133 | + description: |- |
| 134 | + ServiceAccountName is used to check access to Elasticsearch resources in different namespaces. |
| 135 | + Can only be used if ECK is enforcing RBAC on references (--enforce-rbac-on-refs flag). |
| 136 | + The service account must have "get" permission on elasticsearch.k8s.elastic.co/elasticsearches |
| 137 | + in the target namespaces. |
| 138 | + type: string |
| 139 | + version: |
| 140 | + description: Version of the AutoOpsAgentPolicy. |
| 141 | + type: string |
| 142 | + required: |
| 143 | + - version |
| 144 | + type: object |
| 145 | + status: |
| 146 | + properties: |
| 147 | + errors: |
| 148 | + description: Errors is the number of resources that are in an error state. |
| 149 | + type: integer |
| 150 | + observedGeneration: |
| 151 | + description: ObservedGeneration is the most recent generation observed for this AutoOpsAgentPolicy. |
| 152 | + format: int64 |
| 153 | + type: integer |
| 154 | + phase: |
| 155 | + description: Phase is the phase of the AutoOpsAgentPolicy. |
| 156 | + type: string |
| 157 | + ready: |
| 158 | + description: Ready is the number of resources that are in a ready state. |
| 159 | + type: integer |
| 160 | + resources: |
| 161 | + description: Resources is the number of resources that match the ResourceSelector. |
| 162 | + type: integer |
| 163 | + required: |
| 164 | + - errors |
| 165 | + - ready |
| 166 | + - resources |
| 167 | + type: object |
| 168 | + type: object |
| 169 | + served: true |
| 170 | + storage: true |
| 171 | + subresources: |
| 172 | + status: {} |
0 commit comments