operator icon indicating copy to clipboard operation
operator copied to clipboard

apply crd.yaml Error

Open jicki opened this issue 2 years ago • 13 comments

version 0.35.1 ---update ---> version 0.36.1

items:map[description:Volume represents a named volume in a pod that may be accessed by any container in the pod. required:[name] type:object x-kubernetes-preserve-unknown-fields:true] type:array]] type:object] status:map[description:Most recent observed status of the VMAlertmanager cluster. Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status properties:map[availableReplicas:map[description:AvailableReplicas Total number of available pods (ready for at least minReadySeconds) targeted by this VMAlertmanager cluster. format:int32 type:integer] paused:map[description:Paused Represents whether any actions on the underlaying managed objects are being performed. Only delete actions will be performed. type:boolean] replicas:map[description:ReplicaCount Total number of non-terminated pods targeted by this VMAlertmanager cluster (their labels match the selector). format:int32 type:integer] unavailableReplicas:map[description:UnavailableReplicas Total number of unavailable pods targeted by this VMAlertmanager cluster. format:int32 type:integer] updatedReplicas:map[description:UpdatedReplicas Total number of non-terminated pods targeted by this VMAlertmanager cluster that have the desired version spec. format:int32 type:integer]] required:[availableReplicas paused replicas unavailableReplicas updatedReplicas] type:object]] required:[spec] type:object]] served:true storage:true subresources:map[]]]]]": cannot convert int64 to float64

image

  • kubectl delete CustomResourceDefinition vmalertmanagers.operator.victoriametrics.com

apply crd.yaml. is ok !

jicki avatar Aug 29 '23 04:08 jicki

@Haleygo could you please take a look?

Amper avatar Aug 29 '23 08:08 Amper

Hello @jicki Do you get crd yaml from https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmalertmanagerconfigs.yaml and do you use kubectl apply to upgrade it? The upgrade works on my test. And I checked the change from 0.35.1 to 0.36.1 on operator.victoriametrics.com_vmalertmanagerconfigs.yaml and nothing really changed.

Haleygo avatar Aug 29 '23 08:08 Haleygo

Hello @jicki Do you get crd yaml from https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmalertmanagerconfigs.yaml and do you use kubectl apply to upgrade it? The upgrade works on my test. And I checked the change from 0.35.1 to 0.36.1 on operator.victoriametrics.com_vmalertmanagerconfigs.yaml and nothing really changed.

get crd yaml from https://github.com/VictoriaMetrics/operator/releases

delete CustomResourceDefinition vmalertmanagers.operator.victoriametrics.com 

Execute kubectl apply -f crd.yaml can be successfully completed .

jicki avatar Aug 29 '23 08:08 jicki

Weird, still works for me. image Could you please recreate it and paste full logs?

Haleygo avatar Aug 29 '23 10:08 Haleygo

Weird, still works for me. image Could you please recreate it and paste full logs?

I just tested it and didn't have any issues. I'm unable to reproduce the error. If I come across it again somewhere else, I'll come back and let you know.

jicki avatar Aug 29 '23 10:08 jicki

@Haleygo

v0.37.1 update to v0.39.0 encounter the same error, full log is as follows

error.log

jicki avatar Oct 07 '23 01:10 jicki

Did you use helm or kubectl to do the upgrade? And which version their are?

Haleygo avatar Oct 12 '23 18:10 Haleygo

Did you use helm or kubectl to do the upgrade? And which version their are?

use kubectl apply to upgrade . kubectl version v1.22.x

jicki avatar Oct 16 '23 02:10 jicki

Did you use helm or kubectl to do the upgrade? And which version their are?

@Haleygo

Upgrade 0.39.3. I still have this error

kubectl get vmalertmanagers.operator.victoriametrics.com  -A
No resources found

jicki avatar Nov 20 '23 02:11 jicki

@jicki Could you please give some reproduce steps? What's your pre-installed CRD version, and you use kubectl all the time, right?

ps. could releated to https://github.com/helm/helm/issues/5806#issuecomment-782224318, but according to the discussion, the issue should be resolved for k8s 1.20+.

Haleygo avatar Nov 20 '23 02:11 Haleygo

@jicki Could you please give some reproduce steps? What's your pre-installed CRD version, and you use kubectl all the time, right?

ps. could releated to helm/helm#5806 (comment), but according to the discussion, the issue should be resolved for k8s 1.20+.

version 0.35.1 ---upgrade ---> version 0.36.1 version 0.37.1 ---upgrade ---> version 0.39.0 version 0.39.0 -- upgrade ---> version 0.39.3

hhis error occurred

crd update use kubectl apply -f crd.yaml

jicki avatar Nov 20 '23 03:11 jicki

version 0.35.1 ---upgrade ---> version 0.36.1 version 0.37.1 ---upgrade ---> version 0.39.0 version 0.39.0 -- upgrade ---> version 0.39.3

So you applied 0.35.1's crd.yaml on a clean environment, then just download the newer crd.yaml and kubectl apply again? I don't see there is relevant changes between v0.39.3 and v0.35.1. Besides descriptions, the only change is adding useStrictSecurity. Maybe your environment already installed older CRD? And what's your k8s version now? Can you test with newer version?

➜  operator git:(master) ✗ git --no-pager diff v0.35.1 v0.39.3 -- config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
diff --git a/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml b/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
index d3b2aac..86cbaf3 100644
--- a/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
+++ b/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.10.0
+    controller-gen.kubebuilder.io/version: v0.12.1
   name: vmalertmanagers.operator.victoriametrics.com
 spec:
   group: operator.victoriametrics.com
@@ -592,7 +592,7 @@ spec:
               imagePullSecrets:
                 description: ImagePullSecrets An optional list of references to secrets
                   in the same namespace to use for pulling images from registries
-                  see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
+                  see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod
                 items:
                   description: LocalObjectReference contains enough information to
                     let you locate the referenced object inside the same namespace.
@@ -688,7 +688,7 @@ spec:
                     description: 'Annotations is an unstructured key value map stored
                       with a resource that may be set by external tools to store and
                       retrieve arbitrary metadata. They are not queryable and should
-                      be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
+                      be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations'
                     type: object
                   labels:
                     additionalProperties:
@@ -696,14 +696,14 @@ spec:
                     description: 'Labels Map of string keys and values that can be
                       used to organize and categorize (scope and select) objects.
                       May match selectors of replication controllers and services.
-                      More info: http://kubernetes.io/docs/user-guide/labels'
+                      More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels'
                     type: object
                   name:
                     description: 'Name must be unique within a namespace. Is required
                       when creating resources, although some resources may allow a
                       client to request the generation of an appropriate name automatically.
                       Name is primarily intended for creation idempotence and configuration
-                      definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
+                      definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names'
                     type: string
                 type: object
               podSecurityPolicyName:
@@ -816,8 +816,8 @@ spec:
                   to use
                 type: string
               serviceScrapeSpec:
-                description: ServiceScrapeSpec that will be added to vmselect VMServiceScrape
-                  spec
+                description: ServiceScrapeSpec that will be added to vmalertmanager
+                  VMServiceScrape spec
                 required:
                 - endpoints
                 type: object
@@ -837,7 +837,7 @@ spec:
                           stored with a resource that may be set by external tools
                           to store and retrieve arbitrary metadata. They are not queryable
                           and should be preserved when modifying objects. More info:
-                          http://kubernetes.io/docs/user-guide/annotations'
+                          https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations'
                         type: object
                       labels:
                         additionalProperties:
@@ -845,7 +845,7 @@ spec:
                         description: 'Labels Map of string keys and values that can
                           be used to organize and categorize (scope and select) objects.
                           May match selectors of replication controllers and services.
-                          More info: http://kubernetes.io/docs/user-guide/labels'
+                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels'
                         type: object
                       name:
                         description: 'Name must be unique within a namespace. Is required
@@ -853,7 +853,7 @@ spec:
                           a client to request the generation of an appropriate name
                           automatically. Name is primarily intended for creation idempotence
                           and configuration definition. Cannot be updated. More info:
-                          http://kubernetes.io/docs/user-guide/identifiers#names'
+                          https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names'
                         type: string
                     type: object
                   spec:
@@ -928,7 +928,7 @@ spec:
                               map stored with a resource that may be set by external
                               tools to store and retrieve arbitrary metadata. They
                               are not queryable and should be preserved when modifying
-                              objects. More info: http://kubernetes.io/docs/user-guide/annotations'
+                              objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations'
                             type: object
                           labels:
                             additionalProperties:
@@ -936,7 +936,7 @@ spec:
                             description: 'Labels Map of string keys and values that
                               can be used to organize and categorize (scope and select)
                               objects. May match selectors of replication controllers
-                              and services. More info: http://kubernetes.io/docs/user-guide/labels'
+                              and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels'
                             type: object
                           name:
                             description: 'Name must be unique within a namespace.
@@ -944,7 +944,7 @@ spec:
                               may allow a client to request the generation of an appropriate
                               name automatically. Name is primarily intended for creation
                               idempotence and configuration definition. Cannot be
-                              updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
+                              updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names'
                             type: string
                         type: object
                       spec:
@@ -1291,6 +1291,11 @@ spec:
                   type: object
                   x-kubernetes-preserve-unknown-fields: true
                 type: array
+              useStrictSecurity:
+                description: UseStrictSecurity enables strict security mode for component
+                  it restricts disk writes access uses non-root user out of the box
+                  drops not needed security permissions
+                type: boolean
               volumeMounts:
                 description: VolumeMounts allows configuration of additional VolumeMounts
                   on the output StatefulSet definition. VolumeMounts specified will

Haleygo avatar Nov 20 '23 05:11 Haleygo

version 0.35.1 ---upgrade ---> version 0.36.1 version 0.37.1 ---upgrade ---> version 0.39.0 version 0.39.0 -- upgrade ---> version 0.39.3

So you applied 0.35.1's crd.yaml on a clean environment, then just download the newer crd.yaml and kubectl apply again? I don't see there is relevant changes between v0.39.3 and v0.35.1. Besides descriptions, the only change is adding useStrictSecurity. Maybe your environment already installed older CRD? And what's your k8s version now? Can you test with newer version?

➜  operator git:(master) ✗ git --no-pager diff v0.35.1 v0.39.3 -- config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
diff --git a/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml b/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
index d3b2aac..86cbaf3 100644
--- a/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
+++ b/config/crd/bases/operator.victoriametrics.com_vmalertmanagers.yaml
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.10.0
+    controller-gen.kubebuilder.io/version: v0.12.1
   name: vmalertmanagers.operator.victoriametrics.com
 spec:
   group: operator.victoriametrics.com
@@ -592,7 +592,7 @@ spec:
               imagePullSecrets:
                 description: ImagePullSecrets An optional list of references to secrets
                   in the same namespace to use for pulling images from registries
-                  see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
+                  see https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod
                 items:
                   description: LocalObjectReference contains enough information to
                     let you locate the referenced object inside the same namespace.
@@ -688,7 +688,7 @@ spec:
                     description: 'Annotations is an unstructured key value map stored
                       with a resource that may be set by external tools to store and
                       retrieve arbitrary metadata. They are not queryable and should
-                      be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
+                      be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations'
                     type: object
                   labels:
                     additionalProperties:
@@ -696,14 +696,14 @@ spec:
                     description: 'Labels Map of string keys and values that can be
                       used to organize and categorize (scope and select) objects.
                       May match selectors of replication controllers and services.
-                      More info: http://kubernetes.io/docs/user-guide/labels'
+                      More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels'
                     type: object
                   name:
                     description: 'Name must be unique within a namespace. Is required
                       when creating resources, although some resources may allow a
                       client to request the generation of an appropriate name automatically.
                       Name is primarily intended for creation idempotence and configuration
-                      definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
+                      definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names'
                     type: string
                 type: object
               podSecurityPolicyName:
@@ -816,8 +816,8 @@ spec:
                   to use
                 type: string
               serviceScrapeSpec:
-                description: ServiceScrapeSpec that will be added to vmselect VMServiceScrape
-                  spec
+                description: ServiceScrapeSpec that will be added to vmalertmanager
+                  VMServiceScrape spec
                 required:
                 - endpoints
                 type: object
@@ -837,7 +837,7 @@ spec:
                           stored with a resource that may be set by external tools
                           to store and retrieve arbitrary metadata. They are not queryable
                           and should be preserved when modifying objects. More info:
-                          http://kubernetes.io/docs/user-guide/annotations'
+                          https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations'
                         type: object
                       labels:
                         additionalProperties:
@@ -845,7 +845,7 @@ spec:
                         description: 'Labels Map of string keys and values that can
                           be used to organize and categorize (scope and select) objects.
                           May match selectors of replication controllers and services.
-                          More info: http://kubernetes.io/docs/user-guide/labels'
+                          More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels'
                         type: object
                       name:
                         description: 'Name must be unique within a namespace. Is required
@@ -853,7 +853,7 @@ spec:
                           a client to request the generation of an appropriate name
                           automatically. Name is primarily intended for creation idempotence
                           and configuration definition. Cannot be updated. More info:
-                          http://kubernetes.io/docs/user-guide/identifiers#names'
+                          https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names'
                         type: string
                     type: object
                   spec:
@@ -928,7 +928,7 @@ spec:
                               map stored with a resource that may be set by external
                               tools to store and retrieve arbitrary metadata. They
                               are not queryable and should be preserved when modifying
-                              objects. More info: http://kubernetes.io/docs/user-guide/annotations'
+                              objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations'
                             type: object
                           labels:
                             additionalProperties:
@@ -936,7 +936,7 @@ spec:
                             description: 'Labels Map of string keys and values that
                               can be used to organize and categorize (scope and select)
                               objects. May match selectors of replication controllers
-                              and services. More info: http://kubernetes.io/docs/user-guide/labels'
+                              and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels'
                             type: object
                           name:
                             description: 'Name must be unique within a namespace.
@@ -944,7 +944,7 @@ spec:
                               may allow a client to request the generation of an appropriate
                               name automatically. Name is primarily intended for creation
                               idempotence and configuration definition. Cannot be
-                              updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
+                              updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names'
                             type: string
                         type: object
                       spec:
@@ -1291,6 +1291,11 @@ spec:
                   type: object
                   x-kubernetes-preserve-unknown-fields: true
                 type: array
+              useStrictSecurity:
+                description: UseStrictSecurity enables strict security mode for component
+                  it restricts disk writes access uses non-root user out of the box
+                  drops not needed security permissions
+                type: boolean
               volumeMounts:
                 description: VolumeMounts allows configuration of additional VolumeMounts
                   on the output StatefulSet definition. VolumeMounts specified will

OK In the next update I will test it in several different versions .

jicki avatar Nov 20 '23 05:11 jicki

@Haleygo

"I still have this issue."

version v0.43.0 --> v0.43.1

version v0.43.1 --> v0.43.3

just only. CustomResourceDefinition vmalertmanagers.operator.victoriametrics.com

The request is invalid: patch: Invalid value: "map[metadata:map[annotations:map[helm.sh/resource-policy:<nil> kubectl.kubernetes.io/last-applied-configuration:{\"apiVersion\":\"apiextensions.k8s.io/v1\",\"kind\":\"CustomResourceDefinition\",\"metadata\":{\"annotations\":{\"controller-gen.kubebuilder.io/version\":\"v0.14.0\"},\"name\":\"vmalertmanagers.operator.victoriametrics.com\"},\"spec\":{\"group\":\"operator.victoriametrics.com\",\"names\":{\"kind\":\"VMAlertmanager\",\"listKind\":\"VMAlertmanagerList\",\"plural\":\"vmalertmanagers\",\"shortNames\":[\"vma\"],\"singular\":\"vmalertmanager\"},\"scope\":\"Namespaced\",\"versions\":[{\"additionalPrinterColumns\":[{\"description\":\"The version of VMAlertmanager\",\"jsonPath\":\".spec.image.tag\",\"name\":\"Version\",\"type\":\"string\"},{\"description\":\"The desired replicas number of Alertmanagers\",\"jsonPath\":\".spec.replicaCount\",\"name\":\"ReplicaCount\",\"type\":\"integer\"},{\"jsonPath\":\".metadata.creationTimestamp\",\"name\":\"Age\",\"type\":\"date\"},{\"description\":\"Current update status\",\"jsonPath\":\".status.updateStatus\",\"name\":\"Update Status\",\"type\":\"string\"}],\"name\":\"v1beta1\",\"schema\":{\"openAPIV3Schema\":{\"description\":\"VMAlertmanager represents Victoria-Metrics deployment for Alertmanager.\",\"properties\":{\"apiVersion\":{\"description\":\"APIVersion defines the versioned schema of this representation of an object.\\nServers should convert recognized schemas to the latest internal value, and\\nmay reject unrecognized values.\\nMore 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.\\nServers may infer this from the endpoint the client submits requests to.\\nCannot be updated.\\nIn CamelCase.\\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\",\"type\":\"string\"},\"metadata\":{\"type\":\"object\"},\"spec\":{\"description\":\"Specification of the desired behavior of the VMAlertmanager cluster. More info:\\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status\",\"properties\":{\"additionalPeers\":{\"description\":\"AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"affinity\":{\"description\":\"Affinity If specified, the pod's scheduling constraints.\",\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"claimTemplates\":{\"description\":\"ClaimTemplates allows adding additional VolumeClaimTemplates for StatefulSet\",\"items\":{\"description\":\"PersistentVolumeClaim is a user's request for and claim to a persistent volume\",\"properties\":{\"apiVersion\":{\"description\":\"APIVersion defines the versioned schema of this representation of an object.\\nServers should convert recognized schemas to the latest internal value, and\\nmay reject unrecognized values.\\nMore 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.\\nServers may infer this from the endpoint the client submits requests to.\\nCannot be updated.\\nIn CamelCase.\\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\",\"type\":\"string\"},\"metadata\":{\"description\":\"Standard object's metadata.\\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\",\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"spec\":{\"description\":\"spec defines the desired characteristics of a volume requested by a pod author.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\",\"properties\":{\"accessModes\":{\"description\":\"accessModes contains the desired access modes the volume should have.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"dataSource\":{\"description\":\"dataSource field can be used to specify either:\\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\\n* An existing PVC (PersistentVolumeClaim)\\nIf the provisioner or an external controller can support the specified data source,\\nit will create a new volume based on the contents of the specified data source.\\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.\",\"properties\":{\"apiGroup\":{\"description\":\"APIGroup is the group for the resource being referenced.\\nIf APIGroup is not specified, the specified Kind must be in the core API group.\\nFor any other third-party types, APIGroup is required.\",\"type\":\"string\"},\"kind\":{\"description\":\"Kind is the type of resource being referenced\",\"type\":\"string\"},\"name\":{\"description\":\"Name is the name of resource being referenced\",\"type\":\"string\"}},\"required\":[\"kind\",\"name\"],\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"dataSourceRef\":{\"description\":\"dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\\nvolume is desired. This may be any object from a non-empty API group (non\\ncore object) or a PersistentVolumeClaim object.\\nWhen this field is specified, volume binding will only succeed if the type of\\nthe specified object matches some installed volume populator or dynamic\\nprovisioner.\\nThis field will replace the functionality of the dataSource field and as such\\nif both fields are non-empty, they must have the same value. For backwards\\ncompatibility, when namespace isn't specified in dataSourceRef,\\nboth fields (dataSource and dataSourceRef) will be set to the same\\nvalue automatically if one of them is empty and the other is non-empty.\\nWhen namespace is specified in dataSourceRef,\\ndataSource isn't set to the same value and must be empty.\\nThere are three important differences between dataSource and dataSourceRef:\\n* While dataSource only allows two specific types of objects, dataSourceRef\\n  allows any non-core object, as well as PersistentVolumeClaim objects.\\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\\n  preserves all values, and generates an error if a disallowed value is\\n  specified.\\n* While dataSource only allows local objects, dataSourceRef allows objects\\n  in any namespaces.\\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.\",\"properties\":{\"apiGroup\":{\"description\":\"APIGroup is the group for the resource being referenced.\\nIf APIGroup is not specified, the specified Kind must be in the core API group.\\nFor any other third-party types, APIGroup is required.\",\"type\":\"string\"},\"kind\":{\"description\":\"Kind is the type of resource being referenced\",\"type\":\"string\"},\"name\":{\"description\":\"Name is the name of resource being referenced\",\"type\":\"string\"},\"namespace\":{\"description\":\"Namespace is the namespace of resource being referenced\\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.\",\"type\":\"string\"}},\"required\":[\"kind\",\"name\"],\"type\":\"object\"},\"resources\":{\"description\":\"resources represents the minimum resources the volume should have.\\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\\nthat are lower than previous value but must still be higher than capacity recorded in the\\nstatus field of the claim.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources\",\"properties\":{\"claims\":{\"description\":\"Claims lists the names of resources, defined in spec.resourceClaims,\\nthat are used by this container.\\n\\n\\nThis is an alpha field and requires enabling the\\nDynamicResourceAllocation feature gate.\\n\\n\\nThis field is immutable. It can only be set for containers.\",\"items\":{\"description\":\"ResourceClaim references one entry in PodSpec.ResourceClaims.\",\"properties\":{\"name\":{\"description\":\"Name must match the name of one entry in pod.spec.resourceClaims of\\nthe Pod where this field is used. It makes that resource available\\ninside a container.\",\"type\":\"string\"}},\"required\":[\"name\"],\"type\":\"object\"},\"type\":\"array\",\"x-kubernetes-list-map-keys\":[\"name\"],\"x-kubernetes-list-type\":\"map\"},\"limits\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"Limits describes the maximum amount of compute resources allowed.\\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\",\"type\":\"object\"},\"requests\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"Requests describes the minimum amount of compute resources required.\\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\\notherwise to an implementation-defined value. Requests cannot exceed Limits.\\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\",\"type\":\"object\"}},\"type\":\"object\"},\"selector\":{\"description\":\"selector is a label query over volumes to consider for binding.\",\"properties\":{\"matchExpressions\":{\"description\":\"matchExpressions is a list of label selector requirements. The requirements are ANDed.\",\"items\":{\"description\":\"A label selector requirement is a selector that contains values, a key, and an operator that\\nrelates the key and values.\",\"properties\":{\"key\":{\"description\":\"key is the label key that the selector applies to.\",\"type\":\"string\"},\"operator\":{\"description\":\"operator represents a key's relationship to a set of values.\\nValid operators are In, NotIn, Exists and DoesNotExist.\",\"type\":\"string\"},\"values\":{\"description\":\"values is an array of string values. If the operator is In or NotIn,\\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\\nthe values array must be empty. This array is replaced during a strategic\\nmerge patch.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"required\":[\"key\",\"operator\"],\"type\":\"object\"},\"type\":\"array\"},\"matchLabels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\\nmap is equivalent to an element of matchExpressions, whose key field is \\\"key\\\", the\\noperator is \\\"In\\\", and the values array contains only \\\"value\\\". The requirements are ANDed.\",\"type\":\"object\"}},\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"storageClassName\":{\"description\":\"storageClassName is the name of the StorageClass required by the claim.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1\",\"type\":\"string\"},\"volumeMode\":{\"description\":\"volumeMode defines what type of volume is required by the claim.\\nValue of Filesystem is implied when not included in claim spec.\",\"type\":\"string\"},\"volumeName\":{\"description\":\"volumeName is the binding reference to the PersistentVolume backing this claim.\",\"type\":\"string\"}},\"type\":\"object\"},\"status\":{\"description\":\"status represents the current information/status of a persistent volume claim.\\nRead-only.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\",\"properties\":{\"accessModes\":{\"description\":\"accessModes contains the actual access modes the volume backing the PVC has.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"allocatedResources\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may\\nbe larger than the actual capacity when a volume expansion operation is requested.\\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\\nIf a volume expansion capacity request is lowered, allocatedResources is only\\nlowered if there are no expansion operations in progress and if the actual volume capacity\\nis equal or lower than the requested capacity.\\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.\",\"type\":\"object\"},\"capacity\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"capacity represents the actual resources of the underlying volume.\",\"type\":\"object\"},\"conditions\":{\"description\":\"conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\\nresized then the Condition will be set to 'ResizeStarted'.\",\"items\":{\"description\":\"PersistentVolumeClaimCondition contains details about state of pvc\",\"properties\":{\"lastProbeTime\":{\"description\":\"lastProbeTime is the time we probed the condition.\",\"format\":\"date-time\",\"type\":\"string\"},\"lastTransitionTime\":{\"description\":\"lastTransitionTime is the time the condition transitioned from one status to another.\",\"format\":\"date-time\",\"type\":\"string\"},\"message\":{\"description\":\"message is the human-readable message indicating details about last transition.\",\"type\":\"string\"},\"reason\":{\"description\":\"reason is a unique, this should be a short, machine understandable string that gives the reason\\nfor condition's last transition. If it reports \\\"ResizeStarted\\\" that means the underlying\\npersistent volume is being resized.\",\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"type\":{\"description\":\"PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type\",\"type\":\"string\"}},\"required\":[\"status\",\"type\"],\"type\":\"object\"},\"type\":\"array\"},\"phase\":{\"description\":\"phase represents the current phase of PersistentVolumeClaim.\",\"type\":\"string\"},\"resizeStatus\":{\"description\":\"resizeStatus stores status of resize operation.\\nResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty\\nstring by resize controller or kubelet.\\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.\",\"type\":\"string\"}},\"type\":\"object\"}},\"type\":\"object\"},\"type\":\"array\"},\"clusterAdvertiseAddress\":{\"description\":\"ClusterAdvertiseAddress is the explicit address to advertise in cluster.\\nNeeds to be provided for non RFC1918 [1] (public) addresses.\\n[1] RFC1918: https://tools.ietf.org/html/rfc1918\",\"type\":\"string\"},\"configMaps\":{\"description\":\"ConfigMaps is a list of ConfigMaps in the same namespace as the VMAlertmanager\\nobject, which shall be mounted into the VMAlertmanager Pods.\\nThe ConfigMaps are mounted into /etc/vm/configs/\\u003cconfigmap-name\\u003e.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"configNamespaceSelector\":{\"description\":\" ConfigNamespaceSelector defines namespace selector for VMAlertmanagerConfig.\\nWorks in combination with Selector.\\nNamespaceSelector nil - only objects at VMAlertmanager namespace.\\nSelector nil - only objects at NamespaceSelector namespaces.\\nIf both nil - behaviour controlled by selectAllByDefault\",\"properties\":{\"matchExpressions\":{\"description\":\"matchExpressions is a list of label selector requirements. The requirements are ANDed.\",\"items\":{\"description\":\"A label selector requirement is a selector that contains values, a key, and an operator that\\nrelates the key and values.\",\"properties\":{\"key\":{\"description\":\"key is the label key that the selector applies to.\",\"type\":\"string\"},\"operator\":{\"description\":\"operator represents a key's relationship to a set of values.\\nValid operators are In, NotIn, Exists and DoesNotExist.\",\"type\":\"string\"},\"values\":{\"description\":\"values is an array of string values. If the operator is In or NotIn,\\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\\nthe values array must be empty. This array is replaced during a strategic\\nmerge patch.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"required\":[\"key\",\"operator\"],\"type\":\"object\"},\"type\":\"array\"},\"matchLabels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\\nmap is equivalent to an element of matchExpressions, whose key field is \\\"key\\\", the\\noperator is \\\"In\\\", and the values array contains only \\\"value\\\". The requirements are ANDed.\",\"type\":\"object\"}},\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"configRawYaml\":{\"description\":\"ConfigRawYaml - raw configuration for alertmanager,\\nit helps it to start without secret.\\npriority -\\u003e hardcoded ConfigRaw -\\u003e ConfigRaw, provided by user -\\u003e ConfigSecret.\",\"type\":\"string\"},\"configReloaderExtraArgs\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"ConfigReloaderExtraArgs that will be passed to  VMAuths config-reloader container\\nfor example resyncInterval: \\\"30s\\\"\",\"type\":\"object\"},\"configSecret\":{\"description\":\"ConfigSecret is the name of a Kubernetes Secret in the same namespace as the\\nVMAlertmanager object, which contains configuration for this VMAlertmanager,\\nconfiguration must be inside secret key: alertmanager.yaml.\\nIt must be created by user.\\ninstance. Defaults to 'vmalertmanager-\\u003calertmanager-name\\u003e'\\nThe secret is mounted into /etc/alertmanager/config.\",\"type\":\"string\"},\"configSelector\":{\"description\":\"ConfigSelector defines selector for VMAlertmanagerConfig, result config will be merged with with Raw or Secret config.\\nWorks in combination with NamespaceSelector.\\nNamespaceSelector nil - only objects at VMAlertmanager namespace.\\nSelector nil - only objects at NamespaceSelector namespaces.\\nIf both nil - behaviour controlled by selectAllByDefault\",\"properties\":{\"matchExpressions\":{\"description\":\"matchExpressions is a list of label selector requirements. The requirements are ANDed.\",\"items\":{\"description\":\"A label selector requirement is a selector that contains values, a key, and an operator that\\nrelates the key and values.\",\"properties\":{\"key\":{\"description\":\"key is the label key that the selector applies to.\",\"type\":\"string\"},\"operator\":{\"description\":\"operator represents a key's relationship to a set of values.\\nValid operators are In, NotIn, Exists and DoesNotExist.\",\"type\":\"string\"},\"values\":{\"description\":\"values is an array of string values. If the operator is In or NotIn,\\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\\nthe values array must be empty. This array is replaced during a strategic\\nmerge patch.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"required\":[\"key\",\"operator\"],\"type\":\"object\"},\"type\":\"array\"},\"matchLabels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\\nmap is equivalent to an element of matchExpressions, whose key field is \\\"key\\\", the\\noperator is \\\"In\\\", and the values array contains only \\\"value\\\". The requirements are ANDed.\",\"type\":\"object\"}},\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"containers\":{\"description\":\"Containers allows injecting additional containers or patching existing containers.\\nThis is meant to allow adding an authentication proxy to an VMAlertmanager pod.\",\"items\":{\"description\":\"A single application container that you want to run within a pod.\",\"required\":[\"name\"],\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"type\":\"array\"},\"disableNamespaceMatcher\":{\"description\":\"DisableNamespaceMatcher disables namespace label matcher for VMAlertmanagerConfig\\nIt may be useful if alert doesn't have namespace label for some reason\",\"type\":\"boolean\"},\"disableRouteContinueEnforce\":{\"description\":\"DisableRouteContinueEnforce cancel the behavior for VMAlertmanagerConfig that always enforce first-level route continue to true\",\"type\":\"boolean\"},\"dnsConfig\":{\"description\":\"Specifies the DNS parameters of a pod.\\nParameters specified here will be merged to the generated DNS\\nconfiguration based on DNSPolicy.\",\"items\":{\"x-kubernetes-preserve-unknown-fields\":true},\"properties\":{\"nameservers\":{\"description\":\"A list of DNS name server IP addresses.\\nThis will be appended to the base nameservers generated from DNSPolicy.\\nDuplicated nameservers will be removed.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"options\":{\"description\":\"A list of DNS resolver options.\\nThis will be merged with the base options generated from DNSPolicy.\\nDuplicated entries will be removed. Resolution options given in Options\\nwill override those that appear in the base DNSPolicy.\",\"items\":{\"description\":\"PodDNSConfigOption defines DNS resolver options of a pod.\",\"properties\":{\"name\":{\"description\":\"Required.\",\"type\":\"string\"},\"value\":{\"type\":\"string\"}},\"type\":\"object\"},\"type\":\"array\"},\"searches\":{\"description\":\"A list of DNS search domains for host-name lookup.\\nThis will be appended to the base search paths generated from DNSPolicy.\\nDuplicated search paths will be removed.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"type\":\"object\"},\"dnsPolicy\":{\"description\":\"DNSPolicy sets DNS policy for the pod\",\"type\":\"string\"},\"externalURL\":{\"description\":\"ExternalURL the VMAlertmanager instances will be available under. This is\\nnecessary to generate correct URLs. This is necessary if VMAlertmanager is not\\nserved from root of a DNS name.\",\"type\":\"string\"},\"extraArgs\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"ExtraArgs that will be passed to  VMAlertmanager pod\\nfor example log.level: debug\",\"type\":\"object\"},\"extraEnvs\":{\"description\":\"ExtraEnvs that will be added to VMAlertmanager pod\",\"items\":{\"description\":\"EnvVar represents an environment variable present in a Container.\",\"properties\":{\"name\":{\"description\":\"Name of the environment variable. Must be a C_IDENTIFIER.\",\"type\":\"string\"},\"value\":{\"description\":\"Variable references $(VAR_NAME) are expanded\\nusing the previously defined environment variables in the container and\\nany service environment variables. If a variable cannot be resolved,\\nthe reference in the input string will be unchanged. Double $$ are reduced\\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\\n\\\"$$(VAR_NAME)\\\" will produce the string literal \\\"$(VAR_NAME)\\\".\\nEscaped references will never be expanded, regardless of whether the variable\\nexists or not.\\nDefaults to \\\"\\\".\",\"type\":\"string\"}},\"required\":[\"name\"],\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"type\":\"array\"},\"hostNetwork\":{\"description\":\"HostNetwork controls whether the pod may use the node network namespace\",\"type\":\"boolean\"},\"image\":{\"description\":\"Image - docker image settings for VMAlertmanager\\nif no specified operator uses default config version\",\"properties\":{\"pullPolicy\":{\"description\":\"PullPolicy describes how to pull docker image\",\"type\":\"string\"},\"repository\":{\"description\":\"Repository contains name of docker image + it's repository if needed\",\"type\":\"string\"},\"tag\":{\"description\":\"Tag contains desired docker image version\",\"type\":\"string\"}},\"type\":\"object\"},\"imagePullSecrets\":{\"description\":\"ImagePullSecrets An optional list of references to secrets in the same namespace\\nto use for pulling images from registries\\nsee https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod\",\"items\":{\"description\":\"LocalObjectReference contains enough information to let you locate the\\nreferenced object inside the same namespace.\",\"properties\":{\"name\":{\"description\":\"Name of the referent.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\\nTODO: Add other useful fields. apiVersion, kind, uid?\",\"type\":\"string\"}},\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"type\":\"array\"},\"initContainers\":{\"description\":\"InitContainers allows adding initContainers to the pod definition. Those can be used to e.g.\\nfetch secrets for injection into the VMAlertmanager configuration from external sources. Any\\nerrors during the execution of an initContainer will lead to a restart of the Pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/\\nUsing initContainers for any use case other then secret fetching is entirely outside the scope\\nof what the maintainers will support and by doing so, you accept that this behaviour may break\\nat any time without notice.\",\"items\":{\"description\":\"A single application container that you want to run within a pod.\",\"required\":[\"name\"],\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"type\":\"array\"},\"listenLocal\":{\"description\":\"ListenLocal makes the VMAlertmanager server listen on loopback, so that it\\ndoes not bind against the Pod IP. Note this is only for the VMAlertmanager\\nUI, not the gossip communication.\",\"type\":\"boolean\"},\"livenessProbe\":{\"description\":\"LivenessProbe that will be added CRD pod\",\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"logFormat\":{\"description\":\"LogFormat for VMAlertmanager to be configured with.\",\"type\":\"string\"},\"logLevel\":{\"description\":\"Log level for VMAlertmanager to be configured with.\",\"type\":\"string\"},\"minReadySeconds\":{\"description\":\"MinReadySeconds defines a minim number os seconds to wait before starting update next pod\\nif previous in healthy state\",\"format\":\"int32\",\"type\":\"integer\"},\"nodeSelector\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"NodeSelector Define which Nodes the Pods are scheduled on.\",\"type\":\"object\"},\"paused\":{\"description\":\"Paused If set to true all actions on the underlaying managed objects are not\\ngoint to be performed, except for delete actions.\",\"type\":\"boolean\"},\"podDisruptionBudget\":{\"description\":\"PodDisruptionBudget created by operator\",\"properties\":{\"maxUnavailable\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"description\":\"An eviction is allowed if at most \\\"maxUnavailable\\\" pods selected by\\n\\\"selector\\\" are unavailable after the eviction, i.e. even in absence of\\nthe evicted pod. For example, one can prevent all voluntary evictions\\nby specifying 0. This is a mutually exclusive setting with \\\"minAvailable\\\".\",\"x-kubernetes-int-or-string\":true},\"minAvailable\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"description\":\"An eviction is allowed if at least \\\"minAvailable\\\" pods selected by\\n\\\"selector\\\" will still be available after the eviction, i.e. even in the\\nabsence of the evicted pod.  So for example you can prevent all voluntary\\nevictions by specifying \\\"100%\\\".\",\"x-kubernetes-int-or-string\":true},\"selectorLabels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"replaces default labels selector generated by operator\\nit's useful when you need to create custom budget\",\"type\":\"object\"}},\"type\":\"object\"},\"podMetadata\":{\"description\":\"PodMetadata configures Labels and Annotations which are propagated to the alertmanager pods.\",\"properties\":{\"annotations\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Annotations is an unstructured key value map stored with a resource that may be\\nset by external tools to store and retrieve arbitrary metadata. They are not\\nqueryable and should be preserved when modifying objects.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations\",\"type\":\"object\"},\"labels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Labels Map of string keys and values that can be used to organize and categorize\\n(scope and select) objects. May match selectors of replication controllers\\nand services.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels\",\"type\":\"object\"},\"name\":{\"description\":\"Name must be unique within a namespace. Is required when creating resources, although\\nsome resources may allow a client to request the generation of an appropriate name\\nautomatically. Name is primarily intended for creation idempotence and configuration\\ndefinition.\\nCannot be updated.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names\",\"type\":\"string\"}},\"type\":\"object\"},\"portName\":{\"description\":\"PortName used for the pods and governing service.\\nThis defaults to web\",\"type\":\"string\"},\"priorityClassName\":{\"description\":\"PriorityClassName class assigned to the Pods\",\"type\":\"string\"},\"readinessGates\":{\"description\":\"ReadinessGates defines pod readiness gates\",\"items\":{\"description\":\"PodReadinessGate contains the reference to a pod condition\",\"properties\":{\"conditionType\":{\"description\":\"ConditionType refers to a condition in the pod's condition list with matching type.\",\"type\":\"string\"}},\"required\":[\"conditionType\"],\"type\":\"object\"},\"type\":\"array\"},\"readinessProbe\":{\"description\":\"ReadinessProbe that will be added CRD pod\",\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"replicaCount\":{\"description\":\"ReplicaCount Size is the expected size of the alertmanager cluster. The controller will\\neventually make the size of the running cluster equal to the expected\",\"format\":\"int32\",\"minimum\":0,\"type\":\"integer\"},\"resources\":{\"description\":\"Resources container resource request and limits,\\nhttps://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\",\"properties\":{\"claims\":{\"description\":\"Claims lists the names of resources, defined in spec.resourceClaims,\\nthat are used by this container.\\n\\n\\nThis is an alpha field and requires enabling the\\nDynamicResourceAllocation feature gate.\\n\\n\\nThis field is immutable. It can only be set for containers.\",\"items\":{\"description\":\"ResourceClaim references one entry in PodSpec.ResourceClaims.\",\"properties\":{\"name\":{\"description\":\"Name must match the name of one entry in pod.spec.resourceClaims of\\nthe Pod where this field is used. It makes that resource available\\ninside a container.\",\"type\":\"string\"}},\"required\":[\"name\"],\"type\":\"object\"},\"type\":\"array\",\"x-kubernetes-list-map-keys\":[\"name\"],\"x-kubernetes-list-type\":\"map\"},\"limits\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"Limits describes the maximum amount of compute resources allowed.\\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\",\"type\":\"object\"},\"requests\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"Requests describes the minimum amount of compute resources required.\\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\\notherwise to an implementation-defined value. Requests cannot exceed Limits.\\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\",\"type\":\"object\"}},\"type\":\"object\"},\"retention\":{\"description\":\"Retention Time duration VMAlertmanager shall retain data for. Default is '120h',\\nand must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).\",\"pattern\":\"[0-9]+(ms|s|m|h)\",\"type\":\"string\"},\"revisionHistoryLimitCount\":{\"description\":\"The number of old ReplicaSets to retain to allow rollback in deployment or\\nmaximum number of revisions that will be maintained in the StatefulSet's revision history.\\nDefaults to 10.\",\"format\":\"int32\",\"type\":\"integer\"},\"rollingUpdateStrategy\":{\"description\":\"RollingUpdateStrategy defines strategy for application updates\\nDefault is OnDelete, in this case operator handles update process\\nCan be changed for RollingUpdate\",\"type\":\"string\"},\"routePrefix\":{\"description\":\"RoutePrefix VMAlertmanager registers HTTP handlers for. This is useful,\\nif using ExternalURL and a proxy is rewriting HTTP routes of a request,\\nand the actual ExternalURL is still true, but the server serves requests\\nunder a different route prefix. For example for use with `kubectl proxy`.\",\"type\":\"string\"},\"runtimeClassName\":{\"description\":\"RuntimeClassName - defines runtime class for kubernetes pod.\\nhttps://kubernetes.io/docs/concepts/containers/runtime-class/\",\"type\":\"string\"},\"schedulerName\":{\"description\":\"SchedulerName - defines kubernetes scheduler name\",\"type\":\"string\"},\"secrets\":{\"description\":\"Secrets is a list of Secrets in the same namespace as the VMAlertmanager\\nobject, which shall be mounted into the VMAlertmanager Pods.\\nThe Secrets are mounted into /etc/vm/secrets/\\u003csecret-name\\u003e\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"securityContext\":{\"description\":\"SecurityContext holds pod-level security attributes and common container settings.\\nThis defaults to the default PodSecurityContext.\",\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"selectAllByDefault\":{\"description\":\"SelectAllByDefault changes default behavior for empty CRD selectors, such ConfigSelector.\\nwith selectAllByDefault: true and undefined ConfigSelector and ConfigNamespaceSelector\\nOperator selects all exist alertManagerConfigs\\nwith selectAllByDefault: false - selects nothing\",\"type\":\"boolean\"},\"serviceAccountName\":{\"description\":\"ServiceAccountName is the name of the ServiceAccount to use\",\"type\":\"string\"},\"serviceScrapeSpec\":{\"description\":\"ServiceScrapeSpec that will be added to vmalertmanager VMServiceScrape spec\",\"required\":[\"endpoints\"],\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"serviceSpec\":{\"description\":\"ServiceSpec that will be added to vmalertmanager service spec\",\"properties\":{\"metadata\":{\"description\":\"EmbeddedObjectMetadata defines objectMeta for additional service.\",\"properties\":{\"annotations\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Annotations is an unstructured key value map stored with a resource that may be\\nset by external tools to store and retrieve arbitrary metadata. They are not\\nqueryable and should be preserved when modifying objects.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations\",\"type\":\"object\"},\"labels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Labels Map of string keys and values that can be used to organize and categorize\\n(scope and select) objects. May match selectors of replication controllers\\nand services.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels\",\"type\":\"object\"},\"name\":{\"description\":\"Name must be unique within a namespace. Is required when creating resources, although\\nsome resources may allow a client to request the generation of an appropriate name\\nautomatically. Name is primarily intended for creation idempotence and configuration\\ndefinition.\\nCannot be updated.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names\",\"type\":\"string\"}},\"type\":\"object\"},\"spec\":{\"description\":\"ServiceSpec describes the attributes that a user creates on a service.\\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/\",\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"useAsDefault\":{\"description\":\"UseAsDefault applies changes from given service definition to the main object Service\\nChanging from headless service to clusterIP or loadbalancer may break cross-component communication\",\"type\":\"boolean\"}},\"required\":[\"spec\"],\"type\":\"object\"},\"startupProbe\":{\"description\":\"StartupProbe that will be added to CRD pod\",\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"storage\":{\"description\":\"Storage is the definition of how storage will be used by the VMAlertmanager\\ninstances.\",\"properties\":{\"disableMountSubPath\":{\"description\":\"Deprecated: subPath usage will be disabled by default in a future release, this option will become unnecessary.\\nDisableMountSubPath allows to remove any subPath usage in volume mounts.\",\"type\":\"boolean\"},\"emptyDir\":{\"description\":\"EmptyDirVolumeSource to be used by the Prometheus StatefulSets. If specified, used in place of any volumeClaimTemplate. More\\ninfo: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir\",\"properties\":{\"medium\":{\"description\":\"medium represents what type of storage medium should back this directory.\\nThe default is \\\"\\\" which means to use the node's default medium.\\nMust be an empty string (default) or Memory.\\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir\",\"type\":\"string\"},\"sizeLimit\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"description\":\"sizeLimit is the total amount of local storage required for this EmptyDir volume.\\nThe size limit is also applicable for memory medium.\\nThe maximum usage on memory medium EmptyDir would be the minimum value between\\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\\nThe default is nil which means that the limit is undefined.\\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir\",\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true}},\"type\":\"object\"},\"volumeClaimTemplate\":{\"description\":\"A PVC spec to be used by the VMAlertManager StatefulSets.\",\"properties\":{\"apiVersion\":{\"description\":\"APIVersion defines the versioned schema of this representation of an object.\\nServers should convert recognized schemas to the latest internal value, and\\nmay reject unrecognized values.\\nMore 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.\\nServers may infer this from the endpoint the client submits requests to.\\nCannot be updated.\\nIn CamelCase.\\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\",\"type\":\"string\"},\"metadata\":{\"description\":\"EmbeddedMetadata contains metadata relevant to an EmbeddedResource.\",\"properties\":{\"annotations\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Annotations is an unstructured key value map stored with a resource that may be\\nset by external tools to store and retrieve arbitrary metadata. They are not\\nqueryable and should be preserved when modifying objects.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations\",\"type\":\"object\"},\"labels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Labels Map of string keys and values that can be used to organize and categorize\\n(scope and select) objects. May match selectors of replication controllers\\nand services.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels\",\"type\":\"object\"},\"name\":{\"description\":\"Name must be unique within a namespace. Is required when creating resources, although\\nsome resources may allow a client to request the generation of an appropriate name\\nautomatically. Name is primarily intended for creation idempotence and configuration\\ndefinition.\\nCannot be updated.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names\",\"type\":\"string\"}},\"type\":\"object\"},\"spec\":{\"description\":\"Spec defines the desired characteristics of a volume requested by a pod author.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\",\"properties\":{\"accessModes\":{\"description\":\"accessModes contains the desired access modes the volume should have.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"dataSource\":{\"description\":\"dataSource field can be used to specify either:\\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\\n* An existing PVC (PersistentVolumeClaim)\\nIf the provisioner or an external controller can support the specified data source,\\nit will create a new volume based on the contents of the specified data source.\\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.\",\"properties\":{\"apiGroup\":{\"description\":\"APIGroup is the group for the resource being referenced.\\nIf APIGroup is not specified, the specified Kind must be in the core API group.\\nFor any other third-party types, APIGroup is required.\",\"type\":\"string\"},\"kind\":{\"description\":\"Kind is the type of resource being referenced\",\"type\":\"string\"},\"name\":{\"description\":\"Name is the name of resource being referenced\",\"type\":\"string\"}},\"required\":[\"kind\",\"name\"],\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"dataSourceRef\":{\"description\":\"dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\\nvolume is desired. This may be any object from a non-empty API group (non\\ncore object) or a PersistentVolumeClaim object.\\nWhen this field is specified, volume binding will only succeed if the type of\\nthe specified object matches some installed volume populator or dynamic\\nprovisioner.\\nThis field will replace the functionality of the dataSource field and as such\\nif both fields are non-empty, they must have the same value. For backwards\\ncompatibility, when namespace isn't specified in dataSourceRef,\\nboth fields (dataSource and dataSourceRef) will be set to the same\\nvalue automatically if one of them is empty and the other is non-empty.\\nWhen namespace is specified in dataSourceRef,\\ndataSource isn't set to the same value and must be empty.\\nThere are three important differences between dataSource and dataSourceRef:\\n* While dataSource only allows two specific types of objects, dataSourceRef\\n  allows any non-core object, as well as PersistentVolumeClaim objects.\\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\\n  preserves all values, and generates an error if a disallowed value is\\n  specified.\\n* While dataSource only allows local objects, dataSourceRef allows objects\\n  in any namespaces.\\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.\",\"properties\":{\"apiGroup\":{\"description\":\"APIGroup is the group for the resource being referenced.\\nIf APIGroup is not specified, the specified Kind must be in the core API group.\\nFor any other third-party types, APIGroup is required.\",\"type\":\"string\"},\"kind\":{\"description\":\"Kind is the type of resource being referenced\",\"type\":\"string\"},\"name\":{\"description\":\"Name is the name of resource being referenced\",\"type\":\"string\"},\"namespace\":{\"description\":\"Namespace is the namespace of resource being referenced\\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.\",\"type\":\"string\"}},\"required\":[\"kind\",\"name\"],\"type\":\"object\"},\"resources\":{\"description\":\"resources represents the minimum resources the volume should have.\\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\\nthat are lower than previous value but must still be higher than capacity recorded in the\\nstatus field of the claim.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources\",\"properties\":{\"claims\":{\"description\":\"Claims lists the names of resources, defined in spec.resourceClaims,\\nthat are used by this container.\\n\\n\\nThis is an alpha field and requires enabling the\\nDynamicResourceAllocation feature gate.\\n\\n\\nThis field is immutable. It can only be set for containers.\",\"items\":{\"description\":\"ResourceClaim references one entry in PodSpec.ResourceClaims.\",\"properties\":{\"name\":{\"description\":\"Name must match the name of one entry in pod.spec.resourceClaims of\\nthe Pod where this field is used. It makes that resource available\\ninside a container.\",\"type\":\"string\"}},\"required\":[\"name\"],\"type\":\"object\"},\"type\":\"array\",\"x-kubernetes-list-map-keys\":[\"name\"],\"x-kubernetes-list-type\":\"map\"},\"limits\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"Limits describes the maximum amount of compute resources allowed.\\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\",\"type\":\"object\"},\"requests\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"Requests describes the minimum amount of compute resources required.\\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\\notherwise to an implementation-defined value. Requests cannot exceed Limits.\\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\",\"type\":\"object\"}},\"type\":\"object\"},\"selector\":{\"description\":\"selector is a label query over volumes to consider for binding.\",\"properties\":{\"matchExpressions\":{\"description\":\"matchExpressions is a list of label selector requirements. The requirements are ANDed.\",\"items\":{\"description\":\"A label selector requirement is a selector that contains values, a key, and an operator that\\nrelates the key and values.\",\"properties\":{\"key\":{\"description\":\"key is the label key that the selector applies to.\",\"type\":\"string\"},\"operator\":{\"description\":\"operator represents a key's relationship to a set of values.\\nValid operators are In, NotIn, Exists and DoesNotExist.\",\"type\":\"string\"},\"values\":{\"description\":\"values is an array of string values. If the operator is In or NotIn,\\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\\nthe values array must be empty. This array is replaced during a strategic\\nmerge patch.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"required\":[\"key\",\"operator\"],\"type\":\"object\"},\"type\":\"array\"},\"matchLabels\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\\nmap is equivalent to an element of matchExpressions, whose key field is \\\"key\\\", the\\noperator is \\\"In\\\", and the values array contains only \\\"value\\\". The requirements are ANDed.\",\"type\":\"object\"}},\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"storageClassName\":{\"description\":\"storageClassName is the name of the StorageClass required by the claim.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1\",\"type\":\"string\"},\"volumeMode\":{\"description\":\"volumeMode defines what type of volume is required by the claim.\\nValue of Filesystem is implied when not included in claim spec.\",\"type\":\"string\"},\"volumeName\":{\"description\":\"volumeName is the binding reference to the PersistentVolume backing this claim.\",\"type\":\"string\"}},\"type\":\"object\"},\"status\":{\"description\":\"Status represents the current information/status of a persistent volume claim.\\nRead-only.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\",\"properties\":{\"accessModes\":{\"description\":\"accessModes contains the actual access modes the volume backing the PVC has.\\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"allocatedResources\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may\\nbe larger than the actual capacity when a volume expansion operation is requested.\\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\\nIf a volume expansion capacity request is lowered, allocatedResources is only\\nlowered if there are no expansion operations in progress and if the actual volume capacity\\nis equal or lower than the requested capacity.\\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.\",\"type\":\"object\"},\"capacity\":{\"additionalProperties\":{\"anyOf\":[{\"type\":\"integer\"},{\"type\":\"string\"}],\"pattern\":\"^(\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\\\+|-)?(([0-9]+(\\\\.[0-9]*)?)|(\\\\.[0-9]+))))?$\",\"x-kubernetes-int-or-string\":true},\"description\":\"capacity represents the actual resources of the underlying volume.\",\"type\":\"object\"},\"conditions\":{\"description\":\"conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\\nresized then the Condition will be set to 'ResizeStarted'.\",\"items\":{\"description\":\"PersistentVolumeClaimCondition contains details about state of pvc\",\"properties\":{\"lastProbeTime\":{\"description\":\"lastProbeTime is the time we probed the condition.\",\"format\":\"date-time\",\"type\":\"string\"},\"lastTransitionTime\":{\"description\":\"lastTransitionTime is the time the condition transitioned from one status to another.\",\"format\":\"date-time\",\"type\":\"string\"},\"message\":{\"description\":\"message is the human-readable message indicating details about last transition.\",\"type\":\"string\"},\"reason\":{\"description\":\"reason is a unique, this should be a short, machine understandable string that gives the reason\\nfor condition's last transition. If it reports \\\"ResizeStarted\\\" that means the underlying\\npersistent volume is being resized.\",\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"type\":{\"description\":\"PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type\",\"type\":\"string\"}},\"required\":[\"status\",\"type\"],\"type\":\"object\"},\"type\":\"array\"},\"phase\":{\"description\":\"phase represents the current phase of PersistentVolumeClaim.\",\"type\":\"string\"},\"resizeStatus\":{\"description\":\"resizeStatus stores status of resize operation.\\nResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty\\nstring by resize controller or kubelet.\\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.\",\"type\":\"string\"}},\"type\":\"object\"}},\"type\":\"object\"}},\"type\":\"object\"},\"templates\":{\"description\":\"Templates is a list of ConfigMap key references for ConfigMaps in the same namespace as the VMAlertmanager\\nobject, which shall be mounted into the VMAlertmanager Pods.\\nThe Templates are mounted into /etc/vm/templates/\\u003cconfigmap-name\\u003e/\\u003cconfigmap-key\\u003e.\",\"items\":{\"description\":\"ConfigMapKeyReference refers to a key in a ConfigMap.\",\"properties\":{\"key\":{\"description\":\"The ConfigMap key to refer to.\",\"type\":\"string\"},\"name\":{\"description\":\"Name of the referent.\\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\\nTODO: Add other useful fields. apiVersion, kind, uid?\",\"type\":\"string\"}},\"required\":[\"key\"],\"type\":\"object\",\"x-kubernetes-map-type\":\"atomic\"},\"type\":\"array\"},\"terminationGracePeriodSeconds\":{\"description\":\"TerminationGracePeriodSeconds period for container graceful termination\",\"format\":\"int64\",\"type\":\"integer\"},\"tolerations\":{\"description\":\"Tolerations If specified, the pod's tolerations.\",\"items\":{\"description\":\"The pod this Toleration is attached to tolerates any taint that matches\\nthe triple \\u003ckey,value,effect\\u003e using the matching operator \\u003coperator\\u003e.\",\"properties\":{\"effect\":{\"description\":\"Effect indicates the taint effect to match. Empty means match all taint effects.\\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\",\"type\":\"string\"},\"key\":{\"description\":\"Key is the taint key that the toleration applies to. Empty means match all taint keys.\\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.\",\"type\":\"string\"},\"operator\":{\"description\":\"Operator represents a key's relationship to the value.\\nValid operators are Exists and Equal. Defaults to Equal.\\nExists is equivalent to wildcard for value, so that a pod can\\ntolerate all taints of a particular category.\",\"type\":\"string\"},\"tolerationSeconds\":{\"description\":\"TolerationSeconds represents the period of time the toleration (which must be\\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\\nit is not set, which means tolerate the taint forever (do not evict). Zero and\\nnegative values will be treated as 0 (evict immediately) by the system.\",\"format\":\"int64\",\"type\":\"integer\"},\"value\":{\"description\":\"Value is the taint value the toleration matches to.\\nIf the operator is Exists, the value should be empty, otherwise just a regular string.\",\"type\":\"string\"}},\"type\":\"object\"},\"type\":\"array\"},\"topologySpreadConstraints\":{\"description\":\"TopologySpreadConstraints embedded kubernetes pod configuration option,\\ncontrols how pods are spread across your cluster among failure-domains\\nsuch as regions, zones, nodes, and other user-defined topology domains\\nhttps://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/\",\"items\":{\"description\":\"TopologySpreadConstraint specifies how to spread matching pods among the given topology.\",\"required\":[\"maxSkew\",\"topologyKey\",\"whenUnsatisfiable\"],\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"type\":\"array\"},\"useStrictSecurity\":{\"description\":\"UseStrictSecurity enables strict security mode for component\\nit restricts disk writes access\\nuses non-root user out of the box\\ndrops not needed security permissions\",\"type\":\"boolean\"},\"volumeMounts\":{\"description\":\"VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition.\\nVolumeMounts specified will be appended to other VolumeMounts in the alertmanager container,\\nthat are generated as a result of StorageSpec objects.\",\"items\":{\"description\":\"VolumeMount describes a mounting of a Volume within a container.\",\"properties\":{\"mountPath\":{\"description\":\"Path within the container at which the volume should be mounted.  Must\\nnot contain ':'.\",\"type\":\"string\"},\"mountPropagation\":{\"description\":\"mountPropagation determines how mounts are propagated from the host\\nto container and the other way around.\\nWhen not set, MountPropagationNone is used.\\nThis field is beta in 1.10.\",\"type\":\"string\"},\"name\":{\"description\":\"This must match the Name of a Volume.\",\"type\":\"string\"},\"readOnly\":{\"description\":\"Mounted read-only if true, read-write otherwise (false or unspecified).\\nDefaults to false.\",\"type\":\"boolean\"},\"subPath\":{\"description\":\"Path within the volume from which the container's volume should be mounted.\\nDefaults to \\\"\\\" (volume's root).\",\"type\":\"string\"},\"subPathExpr\":{\"description\":\"Expanded path within the volume from which the container's volume should be mounted.\\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\\nDefaults to \\\"\\\" (volume's root).\\nSubPathExpr and SubPath are mutually exclusive.\",\"type\":\"string\"}},\"required\":[\"mountPath\",\"name\"],\"type\":\"object\"},\"type\":\"array\"},\"volumes\":{\"description\":\"Volumes allows configuration of additional volumes on the output StatefulSet definition.\\nVolumes specified will be appended to other volumes that are generated as a result of\\nStorageSpec objects.\",\"items\":{\"description\":\"Volume represents a named volume in a pod that may be accessed by any container in the pod.\",\"required\":[\"name\"],\"type\":\"object\",\"x-kubernetes-preserve-unknown-fields\":true},\"type\":\"array\"}},\"type\":\"object\"},\"status\":{\"description\":\"Most recent observed status of the VMAlertmanager cluster.\\nOperator API itself. More info:\\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status\",\"properties\":{\"reason\":{\"description\":\"Reason has non empty reason for update failure\",\"type\":\"string\"},\"updateStatus\":{\"description\":\"Status defines a status of object update\",\"type\":\"string\"}},\"type\":\"object\"}},\"required\":[\"spec\"],\"type\":\"object\"}},\"served\":true,\"storage\":true,\"subresources\":{\"status\":{}}}]}}\n]] spec:map[versions:[map[additionalPrinterColumns:[map[description:The version of VMAlertmanager jsonPath:.spec.image.tag name:Version type:string] map[description:The desired replicas number of Alertmanagers jsonPath:.spec.replicaCount name:ReplicaCount type:integer] map[jsonPath:.metadata.creationTimestamp name:Age type:date] map[description:Current update status jsonPath:.status.updateStatus name:Update Status type:string]] name:v1beta1 schema:map[openAPIV3Schema:map[description:VMAlertmanager represents Victoria-Metrics deployment for Alertmanager. properties:map[apiVersion:map[description:APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type:string] kind:map[description:Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type:string] metadata:map[type:object] spec:map[description:Specification of the desired behavior of the VMAlertmanager cluster. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status properties:map[additionalPeers:map[description:AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster. items:map[type:string] type:array] affinity:map[description:Affinity If specified, the pod's scheduling constraints. type:object x-kubernetes-preserve-unknown-fields:true] claimTemplates:map[description:ClaimTemplates allows adding additional VolumeClaimTemplates for StatefulSet items:map[description:PersistentVolumeClaim is a user's request for and claim to a persistent volume properties:map[apiVersion:map[description:APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type:string] kind:map[description:Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type:string] metadata:map[description:Standard object's metadata.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata type:object x-kubernetes-preserve-unknown-fields:true] spec:map[description:spec defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties:map[accessModes:map[description:accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items:map[type:string] type:array] dataSource:map[description:dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource. properties:map[apiGroup:map[description:APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required. type:string] kind:map[description:Kind is the type of resource being referenced type:string] name:map[description:Name is the name of resource being referenced type:string]] required:[kind name] type:object x-kubernetes-map-type:atomic] dataSourceRef:map[description:dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n  allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n  preserves all values, and generates an error if a disallowed value is\n  specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n  in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties:map[apiGroup:map[description:APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required. type:string] kind:map[description:Kind is the type of resource being referenced type:string] name:map[description:Name is the name of resource being referenced type:string] namespace:map[description:Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type:string]] required:[kind name] type:object] resources:map[description:resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties:map[claims:map[description:Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers. items:map[description:ResourceClaim references one entry in PodSpec.ResourceClaims. properties:map[name:map[description:Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container. type:string]] required:[name] type:object] type:array x-kubernetes-list-map-keys:[name] x-kubernetes-list-type:map] limits:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type:object] requests:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type:object]] type:object] selector:map[description:selector is a label query over volumes to consider for binding. properties:map[matchExpressions:map[description:matchExpressions is a list of label selector requirements. The requirements are ANDed. items:map[description:A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values. properties:map[key:map[description:key is the label key that the selector applies to. type:string] operator:map[description:operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist. type:string] values:map[description:values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch. items:map[type:string] type:array]] required:[key operator] type:object] type:array] matchLabels:map[additionalProperties:map[type:string] description:matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed. type:object]] type:object x-kubernetes-map-type:atomic] storageClassName:map[description:storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type:string] volumeMode:map[description:volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec. type:string] volumeName:map[description:volumeName is the binding reference to the PersistentVolume backing this claim. type:string]] type:object] status:map[description:status represents the current information/status of a persistent volume claim.\nRead-only.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties:map[accessModes:map[description:accessModes contains the actual access modes the volume backing the PVC has.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items:map[type:string] type:array] allocatedResources:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may\nbe larger than the actual capacity when a volume expansion operation is requested.\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\nIf a volume expansion capacity request is lowered, allocatedResources is only\nlowered if there are no expansion operations in progress and if the actual volume capacity\nis equal or lower than the requested capacity.\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. type:object] capacity:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:capacity represents the actual resources of the underlying volume. type:object] conditions:map[description:conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'ResizeStarted'. items:map[description:PersistentVolumeClaimCondition contains details about state of pvc properties:map[lastProbeTime:map[description:lastProbeTime is the time we probed the condition. format:date-time type:string] lastTransitionTime:map[description:lastTransitionTime is the time the condition transitioned from one status to another. format:date-time type:string] message:map[description:message is the human-readable message indicating details about last transition. type:string] reason:map[description:reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"ResizeStarted\" that means the underlying\npersistent volume is being resized. type:string] status:map[type:string] type:map[description:PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type type:string]] required:[status type] type:object] type:array] phase:map[description:phase represents the current phase of PersistentVolumeClaim. type:string] resizeStatus:map[description:resizeStatus stores status of resize operation.\nResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty\nstring by resize controller or kubelet.\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. type:string]] type:object]] type:object] type:array] clusterAdvertiseAddress:map[description:ClusterAdvertiseAddress is the explicit address to advertise in cluster.\nNeeds to be provided for non RFC1918 [1] (public) addresses.\n[1] RFC1918: https://tools.ietf.org/html/rfc1918 type:string] configMaps:map[description:ConfigMaps is a list of ConfigMaps in the same namespace as the VMAlertmanager\nobject, which shall be mounted into the VMAlertmanager Pods.\nThe ConfigMaps are mounted into /etc/vm/configs/<configmap-name>. items:map[type:string] type:array] configNamespaceSelector:map[description: ConfigNamespaceSelector defines namespace selector for VMAlertmanagerConfig.\nWorks in combination with Selector.\nNamespaceSelector nil - only objects at VMAlertmanager namespace.\nSelector nil - only objects at NamespaceSelector namespaces.\nIf both nil - behaviour controlled by selectAllByDefault properties:map[matchExpressions:map[description:matchExpressions is a list of label selector requirements. The requirements are ANDed. items:map[description:A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values. properties:map[key:map[description:key is the label key that the selector applies to. type:string] operator:map[description:operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist. type:string] values:map[description:values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch. items:map[type:string] type:array]] required:[key operator] type:object] type:array] matchLabels:map[additionalProperties:map[type:string] description:matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed. type:object]] type:object x-kubernetes-map-type:atomic] configRawYaml:map[description:ConfigRawYaml - raw configuration for alertmanager,\nit helps it to start without secret.\npriority -> hardcoded ConfigRaw -> ConfigRaw, provided by user -> ConfigSecret. type:string] configReloaderExtraArgs:map[additionalProperties:map[type:string] description:ConfigReloaderExtraArgs that will be passed to  VMAuths config-reloader container\nfor example resyncInterval: \"30s\" type:object] configSecret:map[description:ConfigSecret is the name of a Kubernetes Secret in the same namespace as the\nVMAlertmanager object, which contains configuration for this VMAlertmanager,\nconfiguration must be inside secret key: alertmanager.yaml.\nIt must be created by user.\ninstance. Defaults to 'vmalertmanager-<alertmanager-name>'\nThe secret is mounted into /etc/alertmanager/config. type:string] configSelector:map[description:ConfigSelector defines selector for VMAlertmanagerConfig, result config will be merged with with Raw or Secret config.\nWorks in combination with NamespaceSelector.\nNamespaceSelector nil - only objects at VMAlertmanager namespace.\nSelector nil - only objects at NamespaceSelector namespaces.\nIf both nil - behaviour controlled by selectAllByDefault properties:map[matchExpressions:map[description:matchExpressions is a list of label selector requirements. The requirements are ANDed. items:map[description:A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values. properties:map[key:map[description:key is the label key that the selector applies to. type:string] operator:map[description:operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist. type:string] values:map[description:values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch. items:map[type:string] type:array]] required:[key operator] type:object] type:array] matchLabels:map[additionalProperties:map[type:string] description:matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed. type:object]] type:object x-kubernetes-map-type:atomic] containers:map[description:Containers allows injecting additional containers or patching existing containers.\nThis is meant to allow adding an authentication proxy to an VMAlertmanager pod. items:map[description:A single application container that you want to run within a pod. required:[name] type:object x-kubernetes-preserve-unknown-fields:true] type:array] disableNamespaceMatcher:map[description:DisableNamespaceMatcher disables namespace label matcher for VMAlertmanagerConfig\nIt may be useful if alert doesn't have namespace label for some reason type:boolean] disableRouteContinueEnforce:map[description:DisableRouteContinueEnforce cancel the behavior for VMAlertmanagerConfig that always enforce first-level route continue to true type:boolean] dnsConfig:map[description:Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy. items:map[x-kubernetes-preserve-unknown-fields:true] properties:map[nameservers:map[description:A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed. items:map[type:string] type:array] options:map[description:A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy. items:map[description:PodDNSConfigOption defines DNS resolver options of a pod. properties:map[name:map[description:Required. type:string] value:map[type:string]] type:object] type:array] searches:map[description:A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed. items:map[type:string] type:array]] type:object] dnsPolicy:map[description:DNSPolicy sets DNS policy for the pod type:string] externalURL:map[description:ExternalURL the VMAlertmanager instances will be available under. This is\nnecessary to generate correct URLs. This is necessary if VMAlertmanager is not\nserved from root of a DNS name. type:string] extraArgs:map[additionalProperties:map[type:string] description:ExtraArgs that will be passed to  VMAlertmanager pod\nfor example log.level: debug type:object] extraEnvs:map[description:ExtraEnvs that will be added to VMAlertmanager pod items:map[description:EnvVar represents an environment variable present in a Container. properties:map[name:map[description:Name of the environment variable. Must be a C_IDENTIFIER. type:string] value:map[description:Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\". type:string]] required:[name] type:object x-kubernetes-preserve-unknown-fields:true] type:array] hostNetwork:map[description:HostNetwork controls whether the pod may use the node network namespace type:boolean] image:map[description:Image - docker image settings for VMAlertmanager\nif no specified operator uses default config version properties:map[pullPolicy:map[description:PullPolicy describes how to pull docker image type:string] repository:map[description:Repository contains name of docker image + it's repository if needed type:string] tag:map[description:Tag contains desired docker image version type:string]] type:object] imagePullSecrets:map[description:ImagePullSecrets An optional list of references to secrets in the same namespace\nto use for pulling images from registries\nsee https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod items:map[description:LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace. properties:map[name:map[description:Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid? type:string]] type:object x-kubernetes-map-type:atomic] type:array] initContainers:map[description:InitContainers allows adding initContainers to the pod definition. Those can be used to e.g.\nfetch secrets for injection into the VMAlertmanager configuration from external sources. Any\nerrors during the execution of an initContainer will lead to a restart of the Pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/\nUsing initContainers for any use case other then secret fetching is entirely outside the scope\nof what the maintainers will support and by doing so, you accept that this behaviour may break\nat any time without notice. items:map[description:A single application container that you want to run within a pod. required:[name] type:object x-kubernetes-preserve-unknown-fields:true] type:array] listenLocal:map[description:ListenLocal makes the VMAlertmanager server listen on loopback, so that it\ndoes not bind against the Pod IP. Note this is only for the VMAlertmanager\nUI, not the gossip communication. type:boolean] livenessProbe:map[description:LivenessProbe that will be added CRD pod type:object x-kubernetes-preserve-unknown-fields:true] logFormat:map[description:LogFormat for VMAlertmanager to be configured with. type:string] logLevel:map[description:Log level for VMAlertmanager to be configured with. type:string] minReadySeconds:map[description:MinReadySeconds defines a minim number os seconds to wait before starting update next pod\nif previous in healthy state format:int32 type:integer] nodeSelector:map[additionalProperties:map[type:string] description:NodeSelector Define which Nodes the Pods are scheduled on. type:object] paused:map[description:Paused If set to true all actions on the underlaying managed objects are not\ngoint to be performed, except for delete actions. type:boolean] podDisruptionBudget:map[description:PodDisruptionBudget created by operator properties:map[maxUnavailable:map[anyOf:[map[type:integer] map[type:string]] description:An eviction is allowed if at most \"maxUnavailable\" pods selected by\n\"selector\" are unavailable after the eviction, i.e. even in absence of\nthe evicted pod. For example, one can prevent all voluntary evictions\nby specifying 0. This is a mutually exclusive setting with \"minAvailable\". x-kubernetes-int-or-string:true] minAvailable:map[anyOf:[map[type:integer] map[type:string]] description:An eviction is allowed if at least \"minAvailable\" pods selected by\n\"selector\" will still be available after the eviction, i.e. even in the\nabsence of the evicted pod.  So for example you can prevent all voluntary\nevictions by specifying \"100%\". x-kubernetes-int-or-string:true] selectorLabels:map[additionalProperties:map[type:string] description:replaces default labels selector generated by operator\nit's useful when you need to create custom budget type:object]] type:object] podMetadata:map[description:PodMetadata configures Labels and Annotations which are propagated to the alertmanager pods. properties:map[annotations:map[additionalProperties:map[type:string] description:Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations type:object] labels:map[additionalProperties:map[type:string] description:Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels type:object] name:map[description:Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names type:string]] type:object] portName:map[description:PortName used for the pods and governing service.\nThis defaults to web type:string] priorityClassName:map[description:PriorityClassName class assigned to the Pods type:string] readinessGates:map[description:ReadinessGates defines pod readiness gates items:map[description:PodReadinessGate contains the reference to a pod condition properties:map[conditionType:map[description:ConditionType refers to a condition in the pod's condition list with matching type. type:string]] required:[conditionType] type:object] type:array] readinessProbe:map[description:ReadinessProbe that will be added CRD pod type:object x-kubernetes-preserve-unknown-fields:true] replicaCount:map[description:ReplicaCount Size is the expected size of the alertmanager cluster. The controller will\neventually make the size of the running cluster equal to the expected format:int32 minimum:0 type:integer] resources:map[description:Resources container resource request and limits,\nhttps://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties:map[claims:map[description:Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers. items:map[description:ResourceClaim references one entry in PodSpec.ResourceClaims. properties:map[name:map[description:Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container. type:string]] required:[name] type:object] type:array x-kubernetes-list-map-keys:[name] x-kubernetes-list-type:map] limits:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type:object] requests:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type:object]] type:object] retention:map[description:Retention Time duration VMAlertmanager shall retain data for. Default is '120h',\nand must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours). pattern:[0-9]+(ms|s|m|h) type:string] revisionHistoryLimitCount:map[description:The number of old ReplicaSets to retain to allow rollback in deployment or\nmaximum number of revisions that will be maintained in the StatefulSet's revision history.\nDefaults to 10. format:int32 type:integer] rollingUpdateStrategy:map[description:RollingUpdateStrategy defines strategy for application updates\nDefault is OnDelete, in this case operator handles update process\nCan be changed for RollingUpdate type:string] routePrefix:map[description:RoutePrefix VMAlertmanager registers HTTP handlers for. This is useful,\nif using ExternalURL and a proxy is rewriting HTTP routes of a request,\nand the actual ExternalURL is still true, but the server serves requests\nunder a different route prefix. For example for use with `kubectl proxy`. type:string] runtimeClassName:map[description:RuntimeClassName - defines runtime class for kubernetes pod.\nhttps://kubernetes.io/docs/concepts/containers/runtime-class/ type:string] schedulerName:map[description:SchedulerName - defines kubernetes scheduler name type:string] secrets:map[description:Secrets is a list of Secrets in the same namespace as the VMAlertmanager\nobject, which shall be mounted into the VMAlertmanager Pods.\nThe Secrets are mounted into /etc/vm/secrets/<secret-name> items:map[type:string] type:array] securityContext:map[description:SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext. type:object x-kubernetes-preserve-unknown-fields:true] selectAllByDefault:map[description:SelectAllByDefault changes default behavior for empty CRD selectors, such ConfigSelector.\nwith selectAllByDefault: true and undefined ConfigSelector and ConfigNamespaceSelector\nOperator selects all exist alertManagerConfigs\nwith selectAllByDefault: false - selects nothing type:boolean] serviceAccountName:map[description:ServiceAccountName is the name of the ServiceAccount to use type:string] serviceScrapeSpec:map[description:ServiceScrapeSpec that will be added to vmalertmanager VMServiceScrape spec required:[endpoints] type:object x-kubernetes-preserve-unknown-fields:true] serviceSpec:map[description:ServiceSpec that will be added to vmalertmanager service spec properties:map[metadata:map[description:EmbeddedObjectMetadata defines objectMeta for additional service. properties:map[annotations:map[additionalProperties:map[type:string] description:Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations type:object] labels:map[additionalProperties:map[type:string] description:Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels type:object] name:map[description:Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names type:string]] type:object] spec:map[description:ServiceSpec describes the attributes that a user creates on a service.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/ type:object x-kubernetes-preserve-unknown-fields:true] useAsDefault:map[description:UseAsDefault applies changes from given service definition to the main object Service\nChanging from headless service to clusterIP or loadbalancer may break cross-component communication type:boolean]] required:[spec] type:object] startupProbe:map[description:StartupProbe that will be added to CRD pod type:object x-kubernetes-preserve-unknown-fields:true] storage:map[description:Storage is the definition of how storage will be used by the VMAlertmanager\ninstances. properties:map[disableMountSubPath:map[description:Deprecated: subPath usage will be disabled by default in a future release, this option will become unnecessary.\nDisableMountSubPath allows to remove any subPath usage in volume mounts. type:boolean] emptyDir:map[description:EmptyDirVolumeSource to be used by the Prometheus StatefulSets. If specified, used in place of any volumeClaimTemplate. More\ninfo: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir properties:map[medium:map[description:medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir type:string] sizeLimit:map[anyOf:[map[type:integer] map[type:string]] description:sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true]] type:object] volumeClaimTemplate:map[description:A PVC spec to be used by the VMAlertManager StatefulSets. properties:map[apiVersion:map[description:APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type:string] kind:map[description:Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type:string] metadata:map[description:EmbeddedMetadata contains metadata relevant to an EmbeddedResource. properties:map[annotations:map[additionalProperties:map[type:string] description:Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations type:object] labels:map[additionalProperties:map[type:string] description:Labels Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels type:object] name:map[description:Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names type:string]] type:object] spec:map[description:Spec defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties:map[accessModes:map[description:accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items:map[type:string] type:array] dataSource:map[description:dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource. properties:map[apiGroup:map[description:APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required. type:string] kind:map[description:Kind is the type of resource being referenced type:string] name:map[description:Name is the name of resource being referenced type:string]] required:[kind name] type:object x-kubernetes-map-type:atomic] dataSourceRef:map[description:dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n  allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n  preserves all values, and generates an error if a disallowed value is\n  specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n  in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties:map[apiGroup:map[description:APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required. type:string] kind:map[description:Kind is the type of resource being referenced type:string] name:map[description:Name is the name of resource being referenced type:string] namespace:map[description:Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type:string]] required:[kind name] type:object] resources:map[description:resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties:map[claims:map[description:Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers. items:map[description:ResourceClaim references one entry in PodSpec.ResourceClaims. properties:map[name:map[description:Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container. type:string]] required:[name] type:object] type:array x-kubernetes-list-map-keys:[name] x-kubernetes-list-type:map] limits:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type:object] requests:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type:object]] type:object] selector:map[description:selector is a label query over volumes to consider for binding. properties:map[matchExpressions:map[description:matchExpressions is a list of label selector requirements. The requirements are ANDed. items:map[description:A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values. properties:map[key:map[description:key is the label key that the selector applies to. type:string] operator:map[description:operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist. type:string] values:map[description:values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch. items:map[type:string] type:array]] required:[key operator] type:object] type:array] matchLabels:map[additionalProperties:map[type:string] description:matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed. type:object]] type:object x-kubernetes-map-type:atomic] storageClassName:map[description:storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type:string] volumeMode:map[description:volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec. type:string] volumeName:map[description:volumeName is the binding reference to the PersistentVolume backing this claim. type:string]] type:object] status:map[description:Status represents the current information/status of a persistent volume claim.\nRead-only.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties:map[accessModes:map[description:accessModes contains the actual access modes the volume backing the PVC has.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items:map[type:string] type:array] allocatedResources:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may\nbe larger than the actual capacity when a volume expansion operation is requested.\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\nIf a volume expansion capacity request is lowered, allocatedResources is only\nlowered if there are no expansion operations in progress and if the actual volume capacity\nis equal or lower than the requested capacity.\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. type:object] capacity:map[additionalProperties:map[anyOf:[map[type:integer] map[type:string]] pattern:^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$ x-kubernetes-int-or-string:true] description:capacity represents the actual resources of the underlying volume. type:object] conditions:map[description:conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'ResizeStarted'. items:map[description:PersistentVolumeClaimCondition contains details about state of pvc properties:map[lastProbeTime:map[description:lastProbeTime is the time we probed the condition. format:date-time type:string] lastTransitionTime:map[description:lastTransitionTime is the time the condition transitioned from one status to another. format:date-time type:string] message:map[description:message is the human-readable message indicating details about last transition. type:string] reason:map[description:reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"ResizeStarted\" that means the underlying\npersistent volume is being resized. type:string] status:map[type:string] type:map[description:PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type type:string]] required:[status type] type:object] type:array] phase:map[description:phase represents the current phase of PersistentVolumeClaim. type:string] resizeStatus:map[description:resizeStatus stores status of resize operation.\nResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty\nstring by resize controller or kubelet.\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. type:string]] type:object]] type:object]] type:object] templates:map[description:Templates is a list of ConfigMap key references for ConfigMaps in the same namespace as the VMAlertmanager\nobject, which shall be mounted into the VMAlertmanager Pods.\nThe Templates are mounted into /etc/vm/templates/<configmap-name>/<configmap-key>. items:map[description:ConfigMapKeyReference refers to a key in a ConfigMap. properties:map[key:map[description:The ConfigMap key to refer to. type:string] name:map[description:Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid? type:string]] required:[key] type:object x-kubernetes-map-type:atomic] type:array] terminationGracePeriodSeconds:map[description:TerminationGracePeriodSeconds period for container graceful termination format:int64 type:integer] tolerations:map[description:Tolerations If specified, the pod's tolerations. items:map[description:The pod this Toleration is attached to tolerates any taint that matches\nthe triple <key,value,effect> using the matching operator <operator>. properties:map[effect:map[description:Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type:string] key:map[description:Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys. type:string] operator:map[description:Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category. type:string] tolerationSeconds:map[description:TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system. format:int64 type:integer] value:map[description:Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string. type:string]] type:object] type:array] topologySpreadConstraints:map[description:TopologySpreadConstraints embedded kubernetes pod configuration option,\ncontrols how pods are spread across your cluster among failure-domains\nsuch as regions, zones, nodes, and other user-defined topology domains\nhttps://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ items:map[description:TopologySpreadConstraint specifies how to spread matching pods among the given topology. required:[maxSkew topologyKey whenUnsatisfiable] type:object x-kubernetes-preserve-unknown-fields:true] type:array] useStrictSecurity:map[description:UseStrictSecurity enables strict security mode for component\nit restricts disk writes access\nuses non-root user out of the box\ndrops not needed security permissions type:boolean] volumeMounts:map[description:VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition.\nVolumeMounts specified will be appended to other VolumeMounts in the alertmanager container,\nthat are generated as a result of StorageSpec objects. items:map[description:VolumeMount describes a mounting of a Volume within a container. properties:map[mountPath:map[description:Path within the container at which the volume should be mounted.  Must\nnot contain ':'. type:string] mountPropagation:map[description:mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10. type:string] name:map[description:This must match the Name of a Volume. type:string] readOnly:map[description:Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false. type:boolean] subPath:map[description:Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root). type:string] subPathExpr:map[description:Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive. type:string]] required:[mountPath name] type:object] type:array] volumes:map[description:Volumes allows configuration of additional volumes on the output StatefulSet definition.\nVolumes specified will be appended to other volumes that are generated as a result of\nStorageSpec objects. items:map[description:Volume represents a named volume in a pod that may be accessed by any container in the pod. required:[name] type:object x-kubernetes-preserve-unknown-fields:true] type:array]] type:object] status:map[description:Most recent observed status of the VMAlertmanager cluster.\nOperator API itself. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status properties:map[reason:map[description:Reason has non empty reason for update failure type:string] updateStatus:map[description:Status defines a status of object update type:string]] type:object]] required:[spec] type:object]] served:true storage:true subresources:map[status:map[]]]]]]": cannot convert int64 to float64

jicki avatar Apr 24 '24 01:04 jicki

ho I think I know the reason now, because I'm using an old version of Kubernetes, and the new version of Kubernetes doesn't have this problem.

jicki avatar Apr 24 '24 01:04 jicki