From 0de5a5c8cd19552ea4f117c52d6b5f619a3d79a2 Mon Sep 17 00:00:00 2001
From: Tamal Saha <tamal@appscode.com>
Date: Sat, 30 Jun 2018 01:55:17 -0700
Subject: [PATCH] Update client libraries to Kubernetes 1.11

---
 ...0alertmanagerCustomResourceDefinition.yaml | 104 ++++++++++++++++--
 ...r-0prometheusCustomResourceDefinition.yaml | 104 ++++++++++++++++--
 ...rometheusruleCustomResourceDefinition.yaml |   1 +
 ...ervicemonitorCustomResourceDefinition.yaml |   1 +
 4 files changed, 190 insertions(+), 20 deletions(-)

diff --git a/manifests/0prometheus-operator-0alertmanagerCustomResourceDefinition.yaml b/manifests/0prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
index 560eb6ef..b95a4509 100644
--- a/manifests/0prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
+++ b/manifests/0prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
@@ -53,11 +53,46 @@ spec:
                         properties:
                           preference:
                             description: A null or empty node selector term matches
-                              no objects.
+                              no objects. The requirements of them are ANDed. The
+                              TopologySelectorTerm type implements a subset of the
+                              NodeSelectorTerm.
                             properties:
                               matchExpressions:
-                                description: Required. A list of node selector requirements.
-                                  The requirements are ANDed.
+                                description: A list of node selector requirements
+                                  by node's labels.
+                                items:
+                                  description: A node selector requirement is a selector
+                                    that contains values, a key, and an operator that
+                                    relates the key and values.
+                                  properties:
+                                    key:
+                                      description: The label key that the selector
+                                        applies to.
+                                      type: string
+                                    operator:
+                                      description: Represents a key's relationship
+                                        to a set of values. Valid operators are In,
+                                        NotIn, Exists, DoesNotExist. Gt, and Lt.
+                                      type: string
+                                    values:
+                                      description: An array of string values. If the
+                                        operator is In or NotIn, the values array
+                                        must be non-empty. If the operator is Exists
+                                        or DoesNotExist, the values array must be
+                                        empty. If the operator is Gt or Lt, the values
+                                        array must have a single element, which will
+                                        be interpreted as an integer. This array is
+                                        replaced during a strategic merge patch.
+                                      items:
+                                        type: string
+                                      type: array
+                                  required:
+                                  - key
+                                  - operator
+                                type: array
+                              matchFields:
+                                description: A list of node selector requirements
+                                  by node's fields.
                                 items:
                                   description: A node selector requirement is a selector
                                     that contains values, a key, and an operator that
@@ -88,8 +123,6 @@ spec:
                                   - key
                                   - operator
                                 type: array
-                            required:
-                            - matchExpressions
                           weight:
                             description: Weight associated with matching the corresponding
                               nodeSelectorTerm, in the range 1-100.
@@ -110,11 +143,46 @@ spec:
                             terms are ORed.
                           items:
                             description: A null or empty node selector term matches
-                              no objects.
+                              no objects. The requirements of them are ANDed. The
+                              TopologySelectorTerm type implements a subset of the
+                              NodeSelectorTerm.
                             properties:
                               matchExpressions:
-                                description: Required. A list of node selector requirements.
-                                  The requirements are ANDed.
+                                description: A list of node selector requirements
+                                  by node's labels.
+                                items:
+                                  description: A node selector requirement is a selector
+                                    that contains values, a key, and an operator that
+                                    relates the key and values.
+                                  properties:
+                                    key:
+                                      description: The label key that the selector
+                                        applies to.
+                                      type: string
+                                    operator:
+                                      description: Represents a key's relationship
+                                        to a set of values. Valid operators are In,
+                                        NotIn, Exists, DoesNotExist. Gt, and Lt.
+                                      type: string
+                                    values:
+                                      description: An array of string values. If the
+                                        operator is In or NotIn, the values array
+                                        must be non-empty. If the operator is Exists
+                                        or DoesNotExist, the values array must be
+                                        empty. If the operator is Gt or Lt, the values
+                                        array must have a single element, which will
+                                        be interpreted as an integer. This array is
+                                        replaced during a strategic merge patch.
+                                      items:
+                                        type: string
+                                      type: array
+                                  required:
+                                  - key
+                                  - operator
+                                type: array
+                              matchFields:
+                                description: A list of node selector requirements
+                                  by node's fields.
                                 items:
                                   description: A node selector requirement is a selector
                                     that contains values, a key, and an operator that
@@ -145,8 +213,6 @@ spec:
                                   - key
                                   - operator
                                 type: array
-                            required:
-                            - matchExpressions
                           type: array
                       required:
                       - nodeSelectorTerms
@@ -1673,6 +1739,23 @@ spec:
                     format: int64
                     type: integer
                   type: array
+                sysctls:
+                  description: Sysctls hold a list of namespaced sysctls used for
+                    the pod. Pods with unsupported sysctls (by the container runtime)
+                    might fail to launch.
+                  items:
+                    description: Sysctl defines a kernel parameter to be set
+                    properties:
+                      name:
+                        description: Name of a property to set
+                        type: string
+                      value:
+                        description: Value of a property to set
+                        type: string
+                    required:
+                    - name
+                    - value
+                  type: array
             serviceAccountName:
               description: ServiceAccountName is the name of the ServiceAccount to
                 use to run the Prometheus Pods.
@@ -2282,3 +2365,4 @@ status:
     kind: ""
     plural: ""
   conditions: null
+  storedVersions: null
diff --git a/manifests/0prometheus-operator-0prometheusCustomResourceDefinition.yaml b/manifests/0prometheus-operator-0prometheusCustomResourceDefinition.yaml
index 1af66f0f..3e11d52f 100644
--- a/manifests/0prometheus-operator-0prometheusCustomResourceDefinition.yaml
+++ b/manifests/0prometheus-operator-0prometheusCustomResourceDefinition.yaml
@@ -83,11 +83,46 @@ spec:
                         properties:
                           preference:
                             description: A null or empty node selector term matches
-                              no objects.
+                              no objects. The requirements of them are ANDed. The
+                              TopologySelectorTerm type implements a subset of the
+                              NodeSelectorTerm.
                             properties:
                               matchExpressions:
-                                description: Required. A list of node selector requirements.
-                                  The requirements are ANDed.
+                                description: A list of node selector requirements
+                                  by node's labels.
+                                items:
+                                  description: A node selector requirement is a selector
+                                    that contains values, a key, and an operator that
+                                    relates the key and values.
+                                  properties:
+                                    key:
+                                      description: The label key that the selector
+                                        applies to.
+                                      type: string
+                                    operator:
+                                      description: Represents a key's relationship
+                                        to a set of values. Valid operators are In,
+                                        NotIn, Exists, DoesNotExist. Gt, and Lt.
+                                      type: string
+                                    values:
+                                      description: An array of string values. If the
+                                        operator is In or NotIn, the values array
+                                        must be non-empty. If the operator is Exists
+                                        or DoesNotExist, the values array must be
+                                        empty. If the operator is Gt or Lt, the values
+                                        array must have a single element, which will
+                                        be interpreted as an integer. This array is
+                                        replaced during a strategic merge patch.
+                                      items:
+                                        type: string
+                                      type: array
+                                  required:
+                                  - key
+                                  - operator
+                                type: array
+                              matchFields:
+                                description: A list of node selector requirements
+                                  by node's fields.
                                 items:
                                   description: A node selector requirement is a selector
                                     that contains values, a key, and an operator that
@@ -118,8 +153,6 @@ spec:
                                   - key
                                   - operator
                                 type: array
-                            required:
-                            - matchExpressions
                           weight:
                             description: Weight associated with matching the corresponding
                               nodeSelectorTerm, in the range 1-100.
@@ -140,11 +173,46 @@ spec:
                             terms are ORed.
                           items:
                             description: A null or empty node selector term matches
-                              no objects.
+                              no objects. The requirements of them are ANDed. The
+                              TopologySelectorTerm type implements a subset of the
+                              NodeSelectorTerm.
                             properties:
                               matchExpressions:
-                                description: Required. A list of node selector requirements.
-                                  The requirements are ANDed.
+                                description: A list of node selector requirements
+                                  by node's labels.
+                                items:
+                                  description: A node selector requirement is a selector
+                                    that contains values, a key, and an operator that
+                                    relates the key and values.
+                                  properties:
+                                    key:
+                                      description: The label key that the selector
+                                        applies to.
+                                      type: string
+                                    operator:
+                                      description: Represents a key's relationship
+                                        to a set of values. Valid operators are In,
+                                        NotIn, Exists, DoesNotExist. Gt, and Lt.
+                                      type: string
+                                    values:
+                                      description: An array of string values. If the
+                                        operator is In or NotIn, the values array
+                                        must be non-empty. If the operator is Exists
+                                        or DoesNotExist, the values array must be
+                                        empty. If the operator is Gt or Lt, the values
+                                        array must have a single element, which will
+                                        be interpreted as an integer. This array is
+                                        replaced during a strategic merge patch.
+                                      items:
+                                        type: string
+                                      type: array
+                                  required:
+                                  - key
+                                  - operator
+                                type: array
+                              matchFields:
+                                description: A list of node selector requirements
+                                  by node's fields.
                                 items:
                                   description: A node selector requirement is a selector
                                     that contains values, a key, and an operator that
@@ -175,8 +243,6 @@ spec:
                                   - key
                                   - operator
                                 type: array
-                            required:
-                            - matchExpressions
                           type: array
                       required:
                       - nodeSelectorTerms
@@ -2100,6 +2166,23 @@ spec:
                     format: int64
                     type: integer
                   type: array
+                sysctls:
+                  description: Sysctls hold a list of namespaced sysctls used for
+                    the pod. Pods with unsupported sysctls (by the container runtime)
+                    might fail to launch.
+                  items:
+                    description: Sysctl defines a kernel parameter to be set
+                    properties:
+                      name:
+                        description: Name of a property to set
+                        type: string
+                      value:
+                        description: Value of a property to set
+                        type: string
+                    required:
+                    - name
+                    - value
+                  type: array
             serviceAccountName:
               description: ServiceAccountName is the name of the ServiceAccount to
                 use to run the Prometheus Pods.
@@ -2864,3 +2947,4 @@ status:
     kind: ""
     plural: ""
   conditions: null
+  storedVersions: null
diff --git a/manifests/0prometheus-operator-0prometheusruleCustomResourceDefinition.yaml b/manifests/0prometheus-operator-0prometheusruleCustomResourceDefinition.yaml
index 43f98251..baba968c 100644
--- a/manifests/0prometheus-operator-0prometheusruleCustomResourceDefinition.yaml
+++ b/manifests/0prometheus-operator-0prometheusruleCustomResourceDefinition.yaml
@@ -339,3 +339,4 @@ status:
     kind: ""
     plural: ""
   conditions: null
+  storedVersions: null
diff --git a/manifests/0prometheus-operator-0servicemonitorCustomResourceDefinition.yaml b/manifests/0prometheus-operator-0servicemonitorCustomResourceDefinition.yaml
index c6bc96a1..018a612d 100644
--- a/manifests/0prometheus-operator-0servicemonitorCustomResourceDefinition.yaml
+++ b/manifests/0prometheus-operator-0servicemonitorCustomResourceDefinition.yaml
@@ -238,3 +238,4 @@ status:
     kind: ""
     plural: ""
   conditions: null
+  storedVersions: null
-- 
GitLab