From 556960fc5fa937f005ec883c9048e08f3bf38d60 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Thu, 31 Oct 2024 20:13:43 +0600 Subject: [PATCH 1/3] Update kubedb crds Signed-off-by: Arnob kumar saha --- .../v1alpha1/etcdautoscalers.yaml | 398 ++ .../v1alpha1/etcdversions.yaml | 135 + .../v1alpha1/connectclusters.yaml | 10 + .../kubedb.com/v1/elasticsearches.yaml | 5 + .../kubedb.com/v1/kafkas.yaml | 15 + .../kubedb.com/v1/mariadbs.yaml | 5 + .../kubedb.com/v1/memcacheds.yaml | 16 + .../kubedb.com/v1/mongodbs.yaml | 5 + .../kubedb.com/v1/mysqls.yaml | 5 + .../kubedb.com/v1/perconaxtradbs.yaml | 15 + .../kubedb.com/v1/pgbouncers.yaml | 5 + .../kubedb.com/v1/postgreses.yaml | 5 + .../kubedb.com/v1/proxysqls.yaml | 5 + .../kubedb.com/v1/redises.yaml | 5 + .../kubedb.com/v1/redissentinels.yaml | 5 + .../kubedb.com/v1alpha2/cassandras.yaml | 6 + .../kubedb.com/v1alpha2/clickhouses.yaml | 6 + .../kubedb.com/v1alpha2/druids.yaml | 118 + .../kubedb.com/v1alpha2/elasticsearches.yaml | 6 + .../kubedb.com/v1alpha2/etcds.yaml | 4107 +++++++++++++++++ .../kubedb.com/v1alpha2/ferretdbs.yaml | 6 + .../kubedb.com/v1alpha2/kafkas.yaml | 16 + .../kubedb.com/v1alpha2/mariadbs.yaml | 6 + .../kubedb.com/v1alpha2/memcacheds.yaml | 1 + .../kubedb.com/v1alpha2/mongodbs.yaml | 6 + .../kubedb.com/v1alpha2/mssqlservers.yaml | 6 + .../kubedb.com/v1alpha2/mysqls.yaml | 6 + .../kubedb.com/v1alpha2/perconaxtradbs.yaml | 16 + .../kubedb.com/v1alpha2/pgbouncers.yaml | 6 + .../kubedb.com/v1alpha2/pgpools.yaml | 6 + .../kubedb.com/v1alpha2/postgreses.yaml | 6 + .../kubedb.com/v1alpha2/proxysqls.yaml | 6 + .../kubedb.com/v1alpha2/rabbitmqs.yaml | 6 + .../kubedb.com/v1alpha2/redises.yaml | 6 + .../kubedb.com/v1alpha2/redissentinels.yaml | 6 + .../kubedb.com/v1alpha2/singlestores.yaml | 11 + .../kubedb.com/v1alpha2/solrs.yaml | 1 + .../kubedb.com/v1alpha2/zookeepers.yaml | 127 + .../v1alpha1/clickhouseopsrequests.yaml | 11 + .../v1alpha1/druidopsrequests.yaml | 165 + .../v1alpha1/elasticsearchopsrequests.yaml | 11 + .../v1alpha1/etcdopsrequests.yaml | 223 + .../v1alpha1/ferretdbopsrequests.yaml | 11 + .../v1alpha1/kafkaopsrequests.yaml | 11 + .../v1alpha1/mariadbopsrequests.yaml | 11 + .../v1alpha1/memcachedopsrequests.yaml | 11 + .../v1alpha1/mongodbopsrequests.yaml | 11 + .../v1alpha1/mssqlserveropsrequests.yaml | 11 + .../v1alpha1/mysqlopsrequests.yaml | 11 + .../v1alpha1/perconaxtradbopsrequests.yaml | 11 + .../v1alpha1/pgbounceropsrequests.yaml | 11 + .../v1alpha1/pgpoolopsrequests.yaml | 11 + .../v1alpha1/postgresopsrequests.yaml | 11 + .../v1alpha1/proxysqlopsrequests.yaml | 11 + .../v1alpha1/rabbitmqopsrequests.yaml | 11 + .../v1alpha1/redisopsrequests.yaml | 11 + .../v1alpha1/redissentinelopsrequests.yaml | 11 + .../v1alpha1/singlestoreopsrequests.yaml | 13 +- .../v1alpha1/solropsrequests.yaml | 11 + .../v1alpha1/zookeeperopsrequests.yaml | 117 + .../v1alpha1/databaseconnections.yaml | 40 +- .../v1alpha1/etcdautoscalers.yaml | 26 + .../v1alpha1/etcdversions.yaml | 26 + .../kubedb.com/v1/mongodbs.yaml | 4 +- .../kubedb.com/v1alpha2/etcds.yaml | 26 + .../v1alpha1/ClusterProfiles.yaml | 9 + .../v1alpha1/etcdopsrequests.yaml | 26 + .../v1alpha1/clusterprofiles.yaml | 9 + .../v1alpha1/etcdautoscalers.yaml | 18 + .../v1alpha1/etcdversions.yaml | 18 + .../kubedb.com/v1alpha2/etcds.yaml | 18 + .../v1alpha1/etcdopsrequests.yaml | 18 + 72 files changed, 6052 insertions(+), 23 deletions(-) create mode 100644 hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml create mode 100644 hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/etcdversions.yaml create mode 100644 hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml create mode 100644 hub/resourcedescriptors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml create mode 100644 hub/resourceeditors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml create mode 100644 hub/resourceeditors/catalog.kubedb.com/v1alpha1/etcdversions.yaml create mode 100644 hub/resourceeditors/kubedb.com/v1alpha2/etcds.yaml create mode 100644 hub/resourceeditors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml create mode 100644 hub/resourcetabledefinitions/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml create mode 100644 hub/resourcetabledefinitions/catalog.kubedb.com/v1alpha1/etcdversions.yaml create mode 100644 hub/resourcetabledefinitions/kubedb.com/v1alpha2/etcds.yaml create mode 100644 hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml diff --git a/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml b/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml new file mode 100644 index 000000000..b3f6a4d50 --- /dev/null +++ b/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml @@ -0,0 +1,398 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceDescriptor +metadata: + creationTimestamp: null + labels: + k8s.io/group: autoscaling.kubedb.com + k8s.io/kind: EtcdAutoscaler + k8s.io/resource: etcdautoscalers + k8s.io/version: v1alpha1 + name: autoscaling.kubedb.com-v1alpha1-etcdautoscalers +spec: + resource: + group: autoscaling.kubedb.com + kind: EtcdAutoscaler + name: etcdautoscalers + scope: Namespaced + version: v1alpha1 + validation: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + 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' + type: string + namespace: + description: "Namespace defines the space within which each name must + be unique. An empty namespace is equivalent to the \"default\" namespace, + but \"default\" is the canonical representation. Not all objects are + required to be scoped to a namespace - the value of this field for + those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/namespaces" + type: string + labels: + additionalProperties: + type: string + description: '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' + type: object + annotations: + additionalProperties: + type: string + 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' + type: object + type: object + spec: + properties: + behavior: + properties: + scaleDown: + properties: + policies: + items: + properties: + periodSeconds: + format: int32 + type: integer + type: + type: string + value: + format: int32 + type: integer + required: + - periodSeconds + - type + - value + type: object + type: array + selectPolicy: + type: string + stabilizationWindowSeconds: + format: int32 + type: integer + type: object + scaleUp: + properties: + policies: + items: + properties: + periodSeconds: + format: int32 + type: integer + type: + type: string + value: + format: int32 + type: integer + required: + - periodSeconds + - type + - value + type: object + type: array + selectPolicy: + type: string + stabilizationWindowSeconds: + format: int32 + type: integer + type: object + type: object + maxReplicas: + format: int32 + type: integer + metrics: + items: + properties: + containerResource: + properties: + container: + type: string + name: + type: string + target: + properties: + averageUtilization: + format: int32 + type: integer + averageValue: + 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 + type: + type: string + value: + 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 + required: + - type + type: object + required: + - container + - name + - target + type: object + external: + properties: + metric: + properties: + name: + type: string + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + required: + - name + type: object + target: + properties: + averageUtilization: + format: int32 + type: integer + averageValue: + 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 + type: + type: string + value: + 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 + required: + - type + type: object + required: + - metric + - target + type: object + object: + properties: + describedObject: + properties: + apiVersion: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + metric: + properties: + name: + type: string + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + required: + - name + type: object + target: + properties: + averageUtilization: + format: int32 + type: integer + averageValue: + 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 + type: + type: string + value: + 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 + required: + - type + type: object + required: + - describedObject + - metric + - target + type: object + pods: + properties: + metric: + properties: + name: + type: string + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + required: + - name + type: object + target: + properties: + averageUtilization: + format: int32 + type: integer + averageValue: + 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 + type: + type: string + value: + 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 + required: + - type + type: object + required: + - metric + - target + type: object + resource: + properties: + name: + type: string + target: + properties: + averageUtilization: + format: int32 + type: integer + averageValue: + 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 + type: + type: string + value: + 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 + required: + - type + type: object + required: + - name + - target + type: object + type: + type: string + required: + - type + type: object + type: array + minReplicas: + format: int32 + type: integer + scaleTargetRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - maxReplicas + - scaleTargetRef + type: object + type: object diff --git a/hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/etcdversions.yaml b/hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/etcdversions.yaml new file mode 100644 index 000000000..9ca24a62d --- /dev/null +++ b/hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/etcdversions.yaml @@ -0,0 +1,135 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceDescriptor +metadata: + creationTimestamp: null + labels: + k8s.io/group: catalog.kubedb.com + k8s.io/kind: EtcdVersion + k8s.io/resource: etcdversions + k8s.io/version: v1alpha1 + name: catalog.kubedb.com-v1alpha1-etcdversions +spec: + resource: + group: catalog.kubedb.com + kind: EtcdVersion + name: etcdversions + scope: Cluster + version: v1alpha1 + validation: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + 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' + type: string + labels: + additionalProperties: + type: string + description: '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' + type: object + annotations: + additionalProperties: + type: string + 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' + type: object + type: object + spec: + properties: + db: + properties: + image: + type: string + required: + - image + type: object + deprecated: + type: boolean + exporter: + properties: + image: + type: string + required: + - image + type: object + gitSyncer: + properties: + image: + type: string + required: + - image + type: object + securityContext: + properties: + runAsUser: + format: int64 + type: integer + type: object + stash: + properties: + addon: + properties: + backupTask: + properties: + name: + type: string + params: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + required: + - name + type: object + restoreTask: + properties: + name: + type: string + params: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + required: + - name + type: object + required: + - backupTask + - restoreTask + type: object + type: object + version: + type: string + required: + - db + - exporter + - version + type: object + type: object diff --git a/hub/resourcedescriptors/kafka.kubedb.com/v1alpha1/connectclusters.yaml b/hub/resourcedescriptors/kafka.kubedb.com/v1alpha1/connectclusters.yaml index b0beeee0b..6741b5613 100644 --- a/hub/resourcedescriptors/kafka.kubedb.com/v1alpha1/connectclusters.yaml +++ b/hub/resourcedescriptors/kafka.kubedb.com/v1alpha1/connectclusters.yaml @@ -59,11 +59,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -120,11 +125,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: diff --git a/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml b/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml index 376ae5ce2..baf56d985 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml @@ -161,11 +161,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/kafkas.yaml b/hub/resourcedescriptors/kubedb.com/v1/kafkas.yaml index 5c446b7c2..d6b7f219f 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/kafkas.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/kafkas.yaml @@ -155,11 +155,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -180,11 +185,16 @@ spec: type: object configSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic podTemplate: @@ -3324,11 +3334,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: diff --git a/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml b/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml index 1a1634369..189f3b31a 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml @@ -249,11 +249,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/memcacheds.yaml b/hub/resourcedescriptors/kubedb.com/v1/memcacheds.yaml index d9d5c8987..ac358da6d 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/memcacheds.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/memcacheds.yaml @@ -131,6 +131,20 @@ spec: type: object spec: properties: + authSecret: + properties: + activeFrom: + format: date-time + type: string + externallyManaged: + type: boolean + name: + default: "" + type: string + rotateAfter: + type: string + type: object + x-kubernetes-map-type: atomic configSecret: properties: name: @@ -922,6 +936,8 @@ spec: - WipeOut - DoNotTerminate type: string + disableAuth: + type: boolean halted: type: boolean healthChecker: diff --git a/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml b/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml index bca418289..9c60dbaac 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml @@ -3343,11 +3343,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml b/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml index 196636703..624a57659 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml @@ -358,11 +358,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml b/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml index e6b478530..0f7819b9f 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml @@ -208,11 +208,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4700,20 +4705,30 @@ spec: properties: monitorUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic replicationUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/pgbouncers.yaml b/hub/resourcedescriptors/kubedb.com/v1/pgbouncers.yaml index 0d11e5e39..f6d061c91 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/pgbouncers.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/pgbouncers.yaml @@ -128,11 +128,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml b/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml index 51fbd8c9f..3d1eb671e 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml @@ -320,11 +320,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/proxysqls.yaml b/hub/resourcedescriptors/kubedb.com/v1/proxysqls.yaml index e622e041a..b94c8e84b 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/proxysqls.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/proxysqls.yaml @@ -138,11 +138,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/redises.yaml b/hub/resourcedescriptors/kubedb.com/v1/redises.yaml index da5d0b4ab..3b42b305d 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/redises.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/redises.yaml @@ -231,11 +231,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1/redissentinels.yaml b/hub/resourcedescriptors/kubedb.com/v1/redissentinels.yaml index 337fea4d4..2b698d4bc 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/redissentinels.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/redissentinels.yaml @@ -128,11 +128,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml index 34acc5ae4..cd6f591e6 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml @@ -128,11 +128,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -3248,6 +3253,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/clickhouses.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/clickhouses.yaml index fd4137086..9615eba73 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/clickhouses.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/clickhouses.yaml @@ -128,11 +128,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic clusterTopology: @@ -9800,6 +9805,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml index 7bca4cc23..d04c90de1 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml @@ -195,6 +195,8 @@ spec: type: string disableSecurity: type: boolean + enableSSL: + type: boolean halted: type: boolean healthChecker: @@ -1224,6 +1226,20 @@ spec: waitForInitialRestore: type: boolean type: object + keystoreCredSecret: + properties: + activeFrom: + format: date-time + type: string + externallyManaged: + type: boolean + name: + default: "" + type: string + rotateAfter: + type: string + type: object + x-kubernetes-map-type: atomic metadataStorage: properties: createTables: @@ -1456,6 +1472,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: @@ -1518,6 +1535,107 @@ spec: - alias type: object type: array + tls: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + type: object topology: properties: brokers: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml index 77e5dca79..c2e5fc34b 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml @@ -161,11 +161,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4159,6 +4164,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml new file mode 100644 index 000000000..0928efc5f --- /dev/null +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml @@ -0,0 +1,4107 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceDescriptor +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Etcd + k8s.io/resource: etcds + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-etcds +spec: + resource: + group: kubedb.com + kind: Etcd + name: etcds + scope: Namespaced + version: v1alpha2 + validation: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + 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' + type: string + namespace: + description: "Namespace defines the space within which each name must + be unique. An empty namespace is equivalent to the \"default\" namespace, + but \"default\" is the canonical representation. Not all objects are + required to be scoped to a namespace - the value of this field for + those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/namespaces" + type: string + labels: + additionalProperties: + type: string + description: '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' + type: object + annotations: + additionalProperties: + type: string + 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' + type: object + type: object + spec: + properties: + authSecret: + properties: + activeFrom: + format: date-time + type: string + externallyManaged: + type: boolean + name: + default: "" + type: string + rotateAfter: + type: string + type: object + x-kubernetes-map-type: atomic + deletionPolicy: + enum: + - Halt + - Delete + - WipeOut + - DoNotTerminate + type: string + halted: + type: boolean + init: + properties: + archiver: + properties: + encryptionSecret: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + fullDBRepository: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + manifestRepository: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + recoveryTimestamp: + format: date-time + type: string + required: + - recoveryTimestamp + type: object + initialized: + type: boolean + script: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + 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 + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + finalizers: + items: + type: string + type: array + labels: + additionalProperties: + type: string + type: object + name: + type: string + namespace: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + 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 + 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 + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + git: + properties: + args: + items: + type: string + type: array + authSecret: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + resources: + properties: + claims: + items: + properties: + name: + 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 + 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 + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + required: + - args + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + scriptPath: + type: string + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + type: object + waitForInitialRestore: + type: boolean + type: object + monitor: + properties: + agent: + enum: + - prometheus.io/operator + - prometheus.io + - prometheus.io/builtin + type: string + prometheus: + properties: + exporter: + properties: + args: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + port: + default: 56790 + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + 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 + 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 + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + type: object + serviceMonitor: + properties: + interval: + type: string + labels: + additionalProperties: + type: string + type: object + type: object + type: object + type: object + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + args: + items: + type: string + type: array + containerSecurityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + dnsConfig: + properties: + nameservers: + items: + type: string + type: array + x-kubernetes-list-type: atomic + options: + items: + properties: + name: + type: string + value: + type: string + type: object + type: array + x-kubernetes-list-type: atomic + searches: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + dnsPolicy: + type: string + enableServiceLinks: + type: boolean + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + hostIPC: + type: boolean + hostNetwork: + type: boolean + hostPID: + type: boolean + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + 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 + 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 + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + nodeSelector: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + podPlacementPolicy: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + priority: + format: int32 + type: integer + priorityClassName: + type: string + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resources: + properties: + claims: + items: + properties: + name: + 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 + 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 + type: object + type: object + runtimeClassName: + type: string + schedulerName: + type: string + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + shareProcessNamespace: + type: boolean + terminationGracePeriodSeconds: + format: int64 + type: integer + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + x-kubernetes-list-map-keys: + - topologyKey + - whenUnsatisfiable + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + 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 + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + generateName: + type: string + labels: + additionalProperties: + type: string + type: object + name: + type: string + namespace: + type: string + ownerReferences: + items: + properties: + apiVersion: + type: string + blockOwnerDeletion: + type: boolean + controller: + type: boolean + kind: + type: string + name: + type: string + uid: + type: string + required: + - apiVersion + - kind + - name + - uid + type: object + x-kubernetes-map-type: atomic + type: array + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + 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 + 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 + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + type: object + type: object + replicas: + format: int32 + type: integer + serviceTemplates: + items: + properties: + alias: + enum: + - primary + - standby + - stats + - dashboard + - secondary + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + clusterIP: + type: string + externalIPs: + items: + type: string + type: array + externalTrafficPolicy: + type: string + healthCheckNodePort: + format: int32 + type: integer + loadBalancerIP: + type: string + loadBalancerSourceRanges: + items: + type: string + type: array + ports: + items: + properties: + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object + type: array + sessionAffinityConfig: + properties: + clientIP: + properties: + timeoutSeconds: + format: int32 + type: integer + type: object + type: object + type: + type: string + type: object + required: + - alias + type: object + type: array + storage: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + 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 + 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 + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + storageType: + enum: + - Durable + - Ephemeral + type: string + tls: + properties: + member: + properties: + peerSecret: + type: string + serverSecret: + type: string + type: object + operatorSecret: + type: string + type: object + version: + type: string + required: + - version + type: object + type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml index 51526602e..5fc827a76 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/ferretdbs.yaml @@ -155,11 +155,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic backend: @@ -3489,6 +3494,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/kafkas.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/kafkas.yaml index 581c4b4d9..bc5b30ba0 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/kafkas.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/kafkas.yaml @@ -155,11 +155,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -180,11 +185,16 @@ spec: type: object configSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic podTemplate: @@ -3324,11 +3334,16 @@ spec: type: object keystoreCredSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: @@ -6608,6 +6623,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml index 49db09484..826d9511f 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml @@ -249,11 +249,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4250,6 +4255,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/memcacheds.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/memcacheds.yaml index 7b4eb4446..e5deebde8 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/memcacheds.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/memcacheds.yaml @@ -3774,6 +3774,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml index 24d5ba5d9..8c0dc5abe 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml @@ -2911,11 +2911,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -9679,6 +9684,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml index 3558315cd..3bfc120f4 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml @@ -171,11 +171,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -4731,6 +4736,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml index 4c9c73ae2..09b43dc4b 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml @@ -358,11 +358,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4359,6 +4364,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml index c40635ce3..c636eabbd 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml @@ -190,11 +190,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4191,6 +4196,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: @@ -4350,20 +4356,30 @@ spec: properties: monitorUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic replicationUserSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/pgbouncers.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/pgbouncers.yaml index b7ce6c8db..3e32ca2bf 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/pgbouncers.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/pgbouncers.yaml @@ -110,11 +110,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -3073,6 +3078,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml index 60fa84cb4..8400c604f 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/pgpools.yaml @@ -155,11 +155,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic clientAuthMode: @@ -3496,6 +3501,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml index 8fc502b05..95c45364b 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml @@ -320,11 +320,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4401,6 +4406,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/proxysqls.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/proxysqls.yaml index 4e2cd0ba3..f3e41516e 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/proxysqls.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/proxysqls.yaml @@ -138,11 +138,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -3081,6 +3086,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml index c5c504c76..97cbfc307 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/rabbitmqs.yaml @@ -155,11 +155,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -3491,6 +3496,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml index 6d4291dd2..d8c37dd5c 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml @@ -231,11 +231,16 @@ spec: type: object authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -4254,6 +4259,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/redissentinels.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/redissentinels.yaml index 3cf3422d5..84f0601b9 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/redissentinels.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/redissentinels.yaml @@ -59,11 +59,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic autoOps: @@ -2941,6 +2946,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml index 504ea3d45..a3a1bed08 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml @@ -155,11 +155,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -1207,11 +1212,16 @@ spec: type: object licenseSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic monitor: @@ -4488,6 +4498,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml index a03699e57..40af16f2e 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/solrs.yaml @@ -3492,6 +3492,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml index fff213b04..fba5f2db5 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/zookeepers.yaml @@ -159,13 +159,22 @@ spec: type: integer authSecret: properties: + activeFrom: + format: date-time + type: string externallyManaged: type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic + clientSecurePort: + default: 2182 + format: int32 + type: integer configSecret: properties: name: @@ -182,6 +191,8 @@ spec: type: string disableAuth: type: boolean + enableSSL: + type: boolean halted: type: boolean healthChecker: @@ -205,6 +216,20 @@ spec: format: int32 type: integer type: object + keystoreCredSecret: + properties: + activeFrom: + format: date-time + type: string + externallyManaged: + type: boolean + name: + default: "" + type: string + rotateAfter: + type: string + type: object + x-kubernetes-map-type: atomic monitor: properties: agent: @@ -3482,6 +3507,7 @@ spec: - standby - stats - dashboard + - secondary type: string metadata: properties: @@ -3632,6 +3658,107 @@ spec: volumeName: type: string type: object + tls: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + type: object version: type: string required: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/clickhouseopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/clickhouseopsrequests.yaml index 36d8af6fd..d4da7ed23 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/clickhouseopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/clickhouseopsrequests.yaml @@ -63,6 +63,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object databaseRef: properties: name: @@ -77,6 +87,7 @@ spec: type: enum: - Restart + - RotateAuth type: string required: - databaseRef diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/druidopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/druidopsrequests.yaml index d987a9026..79ea515a5 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/druidopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/druidopsrequests.yaml @@ -72,6 +72,32 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object + configuration: + properties: + applyConfig: + additionalProperties: + type: string + type: object + configSecret: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + removeCustomConfig: + type: boolean + type: object databaseRef: properties: name: @@ -79,16 +105,155 @@ spec: type: string type: object x-kubernetes-map-type: atomic + horizontalScaling: + properties: + topology: + properties: + brokers: + format: int32 + type: integer + coordinators: + format: int32 + type: integer + historicals: + format: int32 + type: integer + middleManagers: + format: int32 + type: integer + overlords: + format: int32 + type: integer + routers: + format: int32 + type: integer + type: object + type: object restart: type: object timeout: type: string + tls: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + remove: + type: boolean + rotateCertificates: + type: boolean + type: object type: enum: + - UpdateVersion + - HorizontalScaling - VerticalScaling - VolumeExpansion - Restart + - Reconfigure + - ReconfigureTLS + - RotateAuth type: string + updateVersion: + properties: + targetVersion: + type: string + type: object verticalScaling: properties: brokers: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/elasticsearchopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/elasticsearchopsrequests.yaml index 530c4ef88..992ce8627 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/elasticsearchopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/elasticsearchopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -265,6 +275,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml new file mode 100644 index 000000000..9c4449413 --- /dev/null +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml @@ -0,0 +1,223 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceDescriptor +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: EtcdOpsRequest + k8s.io/resource: etcdopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-etcdopsrequests +spec: + resource: + group: ops.kubedb.com + kind: EtcdOpsRequest + name: etcdopsrequests + scope: Namespaced + version: v1alpha1 + validation: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + 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' + type: string + namespace: + description: "Namespace defines the space within which each name must + be unique. An empty namespace is equivalent to the \"default\" namespace, + but \"default\" is the canonical representation. Not all objects are + required to be scoped to a namespace - the value of this field for + those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/namespaces" + type: string + labels: + additionalProperties: + type: string + description: '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' + type: object + annotations: + additionalProperties: + type: string + 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' + type: object + type: object + spec: + properties: + apply: + default: IfReady + enum: + - IfReady + - Always + type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object + configuration: + type: object + databaseRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + horizontalScaling: + type: object + restart: + type: object + tls: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + remove: + type: boolean + rotateCertificates: + type: boolean + type: object + type: + enum: + - UpdateVersion + - HorizontalScaling + - VerticalScaling + - VolumeExpansion + - Restart + - Reconfigure + - ReconfigureTLS + - RotateAuth + type: string + updateVersion: + properties: + readinessCriteria: + type: object + targetVersion: + type: string + type: object + verticalScaling: + properties: + readinessCriteria: + type: object + type: object + volumeExpansion: + type: object + required: + - databaseRef + - type + type: object + type: object diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/ferretdbopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/ferretdbopsrequests.yaml index fd4169121..890a7e281 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/ferretdbopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/ferretdbopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object databaseRef: properties: name: @@ -215,6 +225,7 @@ spec: - Restart - HorizontalScaling - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/kafkaopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/kafkaopsrequests.yaml index 91a147ac4..034688acd 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/kafkaopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/kafkaopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -228,6 +238,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mariadbopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mariadbopsrequests.yaml index 2200fed8f..963b01db2 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mariadbopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mariadbopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -225,6 +235,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/memcachedopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/memcachedopsrequests.yaml index ac901297e..749763f35 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/memcachedopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/memcachedopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -220,6 +230,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mongodbopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mongodbopsrequests.yaml index c1fdbbdf0..277473a0d 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mongodbopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mongodbopsrequests.yaml @@ -92,6 +92,16 @@ spec: - operation - ref type: object + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: arbiter: @@ -381,6 +391,7 @@ spec: - Reconfigure - ReconfigureTLS - Reprovision + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mssqlserveropsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mssqlserveropsrequests.yaml index 174a0ce99..0665bd7d3 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mssqlserveropsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mssqlserveropsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -219,6 +229,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mysqlopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mysqlopsrequests.yaml index 730a30cae..a89e14dbd 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mysqlopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/mysqlopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -222,6 +232,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/perconaxtradbopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/perconaxtradbopsrequests.yaml index a6b96a11f..3299da35b 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/perconaxtradbopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/perconaxtradbopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -225,6 +235,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml index 06d9e83a7..d423e1955 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: pgbouncer: @@ -221,6 +231,7 @@ spec: - VerticalScaling - UpdateVersion - Reconfigure + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgpoolopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgpoolopsrequests.yaml index b75c33ed8..ebec21e42 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgpoolopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgpoolopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -233,6 +243,7 @@ spec: - Restart - HorizontalScaling - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/postgresopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/postgresopsrequests.yaml index 3236c0948..de31f694e 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/postgresopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/postgresopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -247,6 +257,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/proxysqlopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/proxysqlopsrequests.yaml index b066a6e91..c20d28cf2 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/proxysqlopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/proxysqlopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: adminVariables: @@ -267,6 +277,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/rabbitmqopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/rabbitmqopsrequests.yaml index 2a4339a19..843985c95 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/rabbitmqopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/rabbitmqopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -219,6 +229,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redisopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redisopsrequests.yaml index fdc656f86..9286a6b5e 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redisopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redisopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -251,6 +261,7 @@ spec: - Reconfigure - ReconfigureTLS - ReplaceSentinel + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redissentinelopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redissentinelopsrequests.yaml index ce0305a8b..390a5094b 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redissentinelopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/redissentinelopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -218,6 +228,7 @@ spec: - Restart - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/singlestoreopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/singlestoreopsrequests.yaml index e4661bd98..6a78f384c 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/singlestoreopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/singlestoreopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: aggregator: @@ -255,8 +265,9 @@ spec: - VerticalScaling - VolumeExpansion - Restart - - Configuration + - Reconfigure - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/solropsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/solropsrequests.yaml index ceb518f3d..4f51a3633 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/solropsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/solropsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -228,6 +238,7 @@ spec: - Reconfigure - Restart - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/zookeeperopsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/zookeeperopsrequests.yaml index 4470a9b9d..09acbee23 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/zookeeperopsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/zookeeperopsrequests.yaml @@ -72,6 +72,16 @@ spec: - IfReady - Always type: string + authentication: + properties: + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: object configuration: properties: applyConfig: @@ -105,6 +115,111 @@ spec: type: object timeout: type: string + tls: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + remove: + type: boolean + rotateCertificates: + type: boolean + type: object type: enum: - UpdateVersion @@ -113,6 +228,8 @@ spec: - VolumeExpansion - Restart - Reconfigure + - ReconfigureTLS + - RotateAuth type: string updateVersion: properties: diff --git a/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml b/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml index a10bb3d10..75d8f8f68 100644 --- a/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml +++ b/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml @@ -61,26 +61,7 @@ spec: additionalProperties: type: string type: object - private: - items: - properties: - host: - type: string - port: - format: int32 - type: integer - secretRef: - properties: - name: - type: string - namespace: - type: string - required: - - name - type: object - type: object - type: array - public: + gateway: items: properties: hostname: @@ -169,5 +150,24 @@ spec: - namespace type: object type: array + inCluster: + properties: + exec: + type: string + host: + type: string + port: + format: int32 + type: integer + secretRef: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + type: object type: object type: object diff --git a/hub/resourceeditors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml b/hub/resourceeditors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml new file mode 100644 index 000000000..8c7fa26c1 --- /dev/null +++ b/hub/resourceeditors/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml @@ -0,0 +1,26 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceEditor +metadata: + creationTimestamp: null + labels: + k8s.io/group: autoscaling.kubedb.com + k8s.io/kind: EtcdAutoscaler + k8s.io/resource: etcdautoscalers + k8s.io/version: v1alpha1 + name: autoscaling.kubedb.com-v1alpha1-etcdautoscalers +spec: + resource: + group: autoscaling.kubedb.com + kind: EtcdAutoscaler + name: etcdautoscalers + scope: Namespaced + version: v1alpha1 + ui: + editor: + name: autoscalingkubedbcom-etcdautoscaler-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.9.0 + enforceQuota: false diff --git a/hub/resourceeditors/catalog.kubedb.com/v1alpha1/etcdversions.yaml b/hub/resourceeditors/catalog.kubedb.com/v1alpha1/etcdversions.yaml new file mode 100644 index 000000000..a3513b182 --- /dev/null +++ b/hub/resourceeditors/catalog.kubedb.com/v1alpha1/etcdversions.yaml @@ -0,0 +1,26 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceEditor +metadata: + creationTimestamp: null + labels: + k8s.io/group: catalog.kubedb.com + k8s.io/kind: EtcdVersion + k8s.io/resource: etcdversions + k8s.io/version: v1alpha1 + name: catalog.kubedb.com-v1alpha1-etcdversions +spec: + resource: + group: catalog.kubedb.com + kind: EtcdVersion + name: etcdversions + scope: Cluster + version: v1alpha1 + ui: + editor: + name: catalogkubedbcom-etcdversion-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.9.0 + enforceQuota: false diff --git a/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml b/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml index 5358d48ef..0aaa5e188 100644 --- a/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml +++ b/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml @@ -144,7 +144,7 @@ spec: name: Scaling - items: - editor: - name: autoscalingkubedbcom-mongodbautoscaler-editor + name: kubedbcom-mongodb-editor sourceRef: apiGroup: source.toolkit.fluxcd.io kind: HelmRepository @@ -158,7 +158,7 @@ spec: name: Compute operationId: create-opsrequest-compute - editor: - name: autoscalingkubedbcom-mongodbautoscaler-editor + name: kubedbcom-mongodb-editor sourceRef: apiGroup: source.toolkit.fluxcd.io kind: HelmRepository diff --git a/hub/resourceeditors/kubedb.com/v1alpha2/etcds.yaml b/hub/resourceeditors/kubedb.com/v1alpha2/etcds.yaml new file mode 100644 index 000000000..fc6333565 --- /dev/null +++ b/hub/resourceeditors/kubedb.com/v1alpha2/etcds.yaml @@ -0,0 +1,26 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceEditor +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Etcd + k8s.io/resource: etcds + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-etcds +spec: + resource: + group: kubedb.com + kind: Etcd + name: etcds + scope: Namespaced + version: v1alpha2 + ui: + editor: + name: kubedbcom-etcd-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.9.0 + enforceQuota: false diff --git a/hub/resourceeditors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml b/hub/resourceeditors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml index 42e40f5f4..3b99e0e1e 100644 --- a/hub/resourceeditors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml +++ b/hub/resourceeditors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml @@ -15,3 +15,12 @@ spec: name: ClusterProfiles scope: Cluster version: v1alpha1 + ui: + editor: + name: metak8sappscodecom-clusterprofile-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.9.0 + enforceQuota: false diff --git a/hub/resourceeditors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml b/hub/resourceeditors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml new file mode 100644 index 000000000..0c3ec6e0b --- /dev/null +++ b/hub/resourceeditors/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml @@ -0,0 +1,26 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceEditor +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: EtcdOpsRequest + k8s.io/resource: etcdopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-etcdopsrequests +spec: + resource: + group: ops.kubedb.com + kind: EtcdOpsRequest + name: etcdopsrequests + scope: Namespaced + version: v1alpha1 + ui: + editor: + name: opskubedbcom-etcdopsrequest-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.9.0 + enforceQuota: false diff --git a/hub/resourceeditors/ui.k8s.appscode.com/v1alpha1/clusterprofiles.yaml b/hub/resourceeditors/ui.k8s.appscode.com/v1alpha1/clusterprofiles.yaml index c4d9348c8..2cec30a0e 100644 --- a/hub/resourceeditors/ui.k8s.appscode.com/v1alpha1/clusterprofiles.yaml +++ b/hub/resourceeditors/ui.k8s.appscode.com/v1alpha1/clusterprofiles.yaml @@ -15,3 +15,12 @@ spec: name: clusterprofiles scope: Cluster version: v1alpha1 + ui: + editor: + name: uik8sappscodecom-clusterprofile-editor + sourceRef: + apiGroup: source.toolkit.fluxcd.io + kind: HelmRepository + name: appscode-charts-oci + version: v0.9.0 + enforceQuota: false diff --git a/hub/resourcetabledefinitions/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml b/hub/resourcetabledefinitions/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml new file mode 100644 index 000000000..1f19a7333 --- /dev/null +++ b/hub/resourcetabledefinitions/autoscaling.kubedb.com/v1alpha1/etcdautoscalers.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: autoscaling.kubedb.com + k8s.io/kind: EtcdAutoscaler + k8s.io/resource: etcdautoscalers + k8s.io/version: v1alpha1 + name: autoscaling.kubedb.com-v1alpha1-etcdautoscalers +spec: + defaultView: true + resource: + group: autoscaling.kubedb.com + kind: EtcdAutoscaler + name: etcdautoscalers + scope: Namespaced + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/catalog.kubedb.com/v1alpha1/etcdversions.yaml b/hub/resourcetabledefinitions/catalog.kubedb.com/v1alpha1/etcdversions.yaml new file mode 100644 index 000000000..8f5f1fbe5 --- /dev/null +++ b/hub/resourcetabledefinitions/catalog.kubedb.com/v1alpha1/etcdversions.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: catalog.kubedb.com + k8s.io/kind: EtcdVersion + k8s.io/resource: etcdversions + k8s.io/version: v1alpha1 + name: catalog.kubedb.com-v1alpha1-etcdversions +spec: + defaultView: true + resource: + group: catalog.kubedb.com + kind: EtcdVersion + name: etcdversions + scope: Cluster + version: v1alpha1 diff --git a/hub/resourcetabledefinitions/kubedb.com/v1alpha2/etcds.yaml b/hub/resourcetabledefinitions/kubedb.com/v1alpha2/etcds.yaml new file mode 100644 index 000000000..377f267d1 --- /dev/null +++ b/hub/resourcetabledefinitions/kubedb.com/v1alpha2/etcds.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: kubedb.com + k8s.io/kind: Etcd + k8s.io/resource: etcds + k8s.io/version: v1alpha2 + name: kubedb.com-v1alpha2-etcds +spec: + defaultView: true + resource: + group: kubedb.com + kind: Etcd + name: etcds + scope: Namespaced + version: v1alpha2 diff --git a/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml new file mode 100644 index 000000000..75c2809e2 --- /dev/null +++ b/hub/resourcetabledefinitions/ops.kubedb.com/v1alpha1/etcdopsrequests.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: ops.kubedb.com + k8s.io/kind: EtcdOpsRequest + k8s.io/resource: etcdopsrequests + k8s.io/version: v1alpha1 + name: ops.kubedb.com-v1alpha1-etcdopsrequests +spec: + defaultView: true + resource: + group: ops.kubedb.com + kind: EtcdOpsRequest + name: etcdopsrequests + scope: Namespaced + version: v1alpha1 From 9cc81698417fd67f014f2d0ae5f31d6aba4fa241 Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Mon, 4 Nov 2024 19:18:49 +0600 Subject: [PATCH 2/3] mg autoscaler Signed-off-by: Arnob kumar saha --- hub/resourceeditors/kubedb.com/v1/mongodbs.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml b/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml index 0aaa5e188..384fb89ae 100644 --- a/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml +++ b/hub/resourceeditors/kubedb.com/v1/mongodbs.yaml @@ -150,13 +150,13 @@ spec: kind: HelmRepository name: appscode-charts-oci version: v0.10.0 - enforceQuota: false - flow: standalone-create + enforceQuota: true + flow: standalone-edit icons: - src: https://cdn.appscode.com/k8s/icons/action-icons/compute.svg type: image/svg+xml name: Compute - operationId: create-opsrequest-compute + operationId: edit-self-compute-autoscaler - editor: name: kubedbcom-mongodb-editor sourceRef: @@ -164,13 +164,13 @@ spec: kind: HelmRepository name: appscode-charts-oci version: v0.10.0 - enforceQuota: false - flow: standalone-create + enforceQuota: true + flow: standalone-edit icons: - src: https://cdn.appscode.com/k8s/icons/action-icons/storage.svg type: image/svg+xml name: Storage - operationId: create-opsrequest-storage + operationId: edit-self-storage-autoscaler name: Autoscaling - items: - editor: From ed84868c772c45e3458e9249236cb10c6f329c2f Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Mon, 11 Nov 2024 22:31:30 -0800 Subject: [PATCH 3/3] Update kubedb crd Signed-off-by: Tamal Saha --- .../v1alpha1/mssqlserverautoscalers.yaml | 2 - .../v1alpha1/solrautoscalers.yaml | 257 ++++++++++++++++- .../v1alpha1/cassandraversions.yaml | 8 + .../kubedb.com/v1/elasticsearches.yaml | 7 + .../kubedb.com/v1/mariadbs.yaml | 7 + .../kubedb.com/v1/mongodbs.yaml | 7 + .../kubedb.com/v1/mysqls.yaml | 7 + .../kubedb.com/v1/perconaxtradbs.yaml | 7 + .../kubedb.com/v1/postgreses.yaml | 7 + .../kubedb.com/v1/redises.yaml | 7 + .../kubedb.com/v1alpha2/cassandras.yaml | 201 ++++++++++++++ .../kubedb.com/v1alpha2/druids.yaml | 14 + .../kubedb.com/v1alpha2/elasticsearches.yaml | 7 + .../kubedb.com/v1alpha2/etcds.yaml | 7 + .../kubedb.com/v1alpha2/mariadbs.yaml | 7 + .../kubedb.com/v1alpha2/mongodbs.yaml | 7 + .../kubedb.com/v1alpha2/mssqlservers.yaml | 260 ++---------------- .../kubedb.com/v1alpha2/mysqls.yaml | 7 + .../kubedb.com/v1alpha2/perconaxtradbs.yaml | 7 + .../kubedb.com/v1alpha2/postgreses.yaml | 7 + .../kubedb.com/v1alpha2/redises.yaml | 7 + .../kubedb.com/v1alpha2/singlestores.yaml | 7 + .../v1alpha1/pgbounceropsrequests.yaml | 16 +- .../v1alpha1/publishers.yaml | 16 +- .../v1alpha1/subscribers.yaml | 16 +- .../v1alpha1/databaseconnections.yaml | 3 + 26 files changed, 644 insertions(+), 261 deletions(-) diff --git a/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/mssqlserverautoscalers.yaml b/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/mssqlserverautoscalers.yaml index af5636a68..b71a52e9c 100644 --- a/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/mssqlserverautoscalers.yaml +++ b/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/mssqlserverautoscalers.yaml @@ -132,8 +132,6 @@ spec: - IfReady - Always type: string - readinessCriteria: - type: object timeout: type: string type: object diff --git a/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/solrautoscalers.yaml b/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/solrautoscalers.yaml index f47b36869..52934fc8a 100644 --- a/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/solrautoscalers.yaml +++ b/hub/resourcedescriptors/autoscaling.kubedb.com/v1alpha1/solrautoscalers.yaml @@ -59,6 +59,138 @@ spec: properties: compute: properties: + coordinator: + properties: + containerControlledValues: + enum: + - RequestsAndLimits + - RequestsOnly + type: string + controlledResources: + items: + type: string + type: array + inMemoryStorage: + properties: + scalingFactorPercentage: + format: int32 + type: integer + usageThresholdPercentage: + format: int32 + type: integer + type: object + maxAllowed: + 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 + type: object + minAllowed: + 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 + type: object + podLifeTimeThreshold: + type: string + resourceDiffPercentage: + format: int32 + type: integer + trigger: + type: string + type: object + data: + properties: + containerControlledValues: + enum: + - RequestsAndLimits + - RequestsOnly + type: string + controlledResources: + items: + type: string + type: array + inMemoryStorage: + properties: + scalingFactorPercentage: + format: int32 + type: integer + usageThresholdPercentage: + format: int32 + type: integer + type: object + maxAllowed: + 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 + type: object + minAllowed: + 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 + type: object + podLifeTimeThreshold: + type: string + resourceDiffPercentage: + format: int32 + type: integer + trigger: + type: string + type: object + node: + properties: + containerControlledValues: + enum: + - RequestsAndLimits + - RequestsOnly + type: string + controlledResources: + items: + type: string + type: array + inMemoryStorage: + properties: + scalingFactorPercentage: + format: int32 + type: integer + usageThresholdPercentage: + format: int32 + type: integer + type: object + maxAllowed: + 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 + type: object + minAllowed: + 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 + type: object + podLifeTimeThreshold: + type: string + resourceDiffPercentage: + format: int32 + type: integer + trigger: + type: string + type: object nodeTopology: properties: name: @@ -72,7 +204,7 @@ spec: format: int32 type: integer type: object - solr: + overseer: properties: containerControlledValues: enum: @@ -137,7 +269,128 @@ spec: type: object storage: properties: - solr: + coordinator: + properties: + expansionMode: + enum: + - Offline + - Online + type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array + scalingThreshold: + format: int32 + type: integer + trigger: + type: string + upperBound: + 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 + usageThreshold: + format: int32 + type: integer + required: + - expansionMode + type: object + data: + properties: + expansionMode: + enum: + - Offline + - Online + type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array + scalingThreshold: + format: int32 + type: integer + trigger: + type: string + upperBound: + 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 + usageThreshold: + format: int32 + type: integer + required: + - expansionMode + type: object + node: + properties: + expansionMode: + enum: + - Offline + - Online + type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array + scalingThreshold: + format: int32 + type: integer + trigger: + type: string + upperBound: + 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 + usageThreshold: + format: int32 + type: integer + required: + - expansionMode + type: object + nodeTopology: + properties: + name: + type: string + scaleDownDiffPercentage: + default: 25 + format: int32 + type: integer + scaleUpDiffPercentage: + default: 15 + format: int32 + type: integer + type: object + overseer: properties: expansionMode: enum: diff --git a/hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/cassandraversions.yaml b/hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/cassandraversions.yaml index 0df9f6817..376b0ff8e 100644 --- a/hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/cassandraversions.yaml +++ b/hub/resourcedescriptors/catalog.kubedb.com/v1alpha1/cassandraversions.yaml @@ -56,6 +56,13 @@ spec: required: - image type: object + exporter: + properties: + image: + type: string + required: + - image + type: object initContainer: properties: image: @@ -88,6 +95,7 @@ spec: type: string required: - db + - exporter - initContainer - version type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml b/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml index baf56d985..b453d3018 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/elasticsearches.yaml @@ -257,6 +257,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml b/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml index 189f3b31a..fa9c82cc2 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/mariadbs.yaml @@ -337,6 +337,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml b/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml index 9c60dbaac..00c086511 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/mongodbs.yaml @@ -6618,6 +6618,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml b/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml index 624a57659..791be37e6 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/mysqls.yaml @@ -446,6 +446,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml b/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml index 0f7819b9f..81ce91a55 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/perconaxtradbs.yaml @@ -296,6 +296,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml b/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml index 3d1eb671e..38f587b9a 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/postgreses.yaml @@ -416,6 +416,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1/redises.yaml b/hub/resourcedescriptors/kubedb.com/v1/redises.yaml index 3b42b305d..5beac6fef 100644 --- a/hub/resourcedescriptors/kubedb.com/v1/redises.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1/redises.yaml @@ -330,6 +330,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml index cd6f591e6..0d11cfc73 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/cassandras.yaml @@ -177,6 +177,207 @@ spec: format: int32 type: integer type: object + monitor: + properties: + agent: + enum: + - prometheus.io/operator + - prometheus.io + - prometheus.io/builtin + type: string + prometheus: + properties: + exporter: + properties: + args: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + 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 + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + port: + default: 56790 + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + 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 + 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 + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + type: object + serviceMonitor: + properties: + interval: + type: string + labels: + additionalProperties: + type: string + type: object + type: object + type: object + type: object podTemplate: properties: controller: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml index d04c90de1..4a50d97ae 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/druids.yaml @@ -155,9 +155,16 @@ spec: properties: authSecret: properties: + activeFrom: + format: date-time + type: string + externallyManaged: + type: boolean name: default: "" type: string + rotateAfter: + type: string type: object x-kubernetes-map-type: atomic configSecret: @@ -254,6 +261,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml index c2e5fc34b..b5c77d875 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/elasticsearches.yaml @@ -250,6 +250,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml index 0928efc5f..bd94f9af2 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/etcds.yaml @@ -114,6 +114,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml index 826d9511f..b70c0aff0 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mariadbs.yaml @@ -436,6 +436,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml index 8c0dc5abe..ad4e0b2ce 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mongodbs.yaml @@ -5853,6 +5853,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml index 3bfc120f4..876d3b10a 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mssqlservers.yaml @@ -190,112 +190,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - coordinator: - properties: - resources: - properties: - claims: - items: - properties: - name: - 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 - 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 - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - type: object deletionPolicy: enum: - Halt @@ -360,6 +254,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object @@ -1332,133 +1233,6 @@ spec: waitForInitialRestore: type: boolean type: object - internalAuth: - nullable: true - properties: - endpointCert: - properties: - certificates: - items: - properties: - alias: - type: string - dnsNames: - items: - type: string - type: array - duration: - type: string - emailAddresses: - items: - type: string - type: array - ipAddresses: - items: - type: string - type: array - issuerRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - privateKey: - properties: - encoding: - enum: - - PKCS1 - - PKCS8 - type: string - type: object - renewBefore: - type: string - secretName: - type: string - subject: - properties: - countries: - items: - type: string - type: array - localities: - items: - type: string - type: array - organizationalUnits: - items: - type: string - type: array - organizations: - items: - type: string - type: array - postalCodes: - items: - type: string - type: array - provinces: - items: - type: string - type: array - serialNumber: - type: string - streetAddresses: - items: - type: string - type: array - type: object - uris: - items: - type: string - type: array - required: - - alias - type: object - type: array - issuerRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - type: object - required: - - endpointCert - type: object - leaderElection: - properties: - electionTick: - default: 10 - format: int32 - type: integer - heartbeatTick: - default: 1 - format: int32 - type: integer - period: - default: 100ms - type: string - transferLeadershipInterval: - default: 1s - type: string - transferLeadershipTimeout: - default: 60s - type: string - type: object monitor: properties: agent: @@ -5005,6 +4779,26 @@ spec: items: type: string type: array + leaderElection: + properties: + electionTick: + default: 10 + format: int32 + type: integer + heartbeatTick: + default: 1 + format: int32 + type: integer + period: + default: 100ms + type: string + transferLeadershipInterval: + default: 1s + type: string + transferLeadershipTimeout: + default: 60s + type: string + type: object type: object mode: enum: diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml index 09b43dc4b..3d9985d01 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/mysqls.yaml @@ -545,6 +545,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml index c636eabbd..61f43f6ee 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/perconaxtradbs.yaml @@ -377,6 +377,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml index 95c45364b..1f6855c3c 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/postgreses.yaml @@ -515,6 +515,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml index d8c37dd5c..088455e21 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/redises.yaml @@ -429,6 +429,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml b/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml index a3a1bed08..6767d65fb 100644 --- a/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml +++ b/hub/resourcedescriptors/kubedb.com/v1alpha2/singlestores.yaml @@ -238,6 +238,13 @@ spec: recoveryTimestamp: format: date-time type: string + replicationStrategy: + enum: + - fscopy + - clone + - sync + - none + type: string required: - recoveryTimestamp type: object diff --git a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml index d423e1955..129e739ed 100644 --- a/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml +++ b/hub/resourcedescriptors/ops.kubedb.com/v1alpha1/pgbounceropsrequests.yaml @@ -103,6 +103,13 @@ spec: required: - pgbouncer type: object + databaseRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic horizontalScaling: properties: replicas: @@ -111,13 +118,6 @@ spec: type: object restart: type: object - serverRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic timeout: type: string tls: @@ -322,7 +322,7 @@ spec: type: object type: object required: - - serverRef + - databaseRef - type type: object type: object diff --git a/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/publishers.yaml b/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/publishers.yaml index 376b1614a..021a42f6f 100644 --- a/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/publishers.yaml +++ b/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/publishers.yaml @@ -129,6 +129,13 @@ spec: type: object databaseName: type: string + databaseRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic deletionPolicy: default: Delete enum: @@ -155,20 +162,13 @@ spec: type: object publishAllTables: type: boolean - serverRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic tables: items: type: string type: array required: - databaseName + - databaseRef - name - - serverRef type: object type: object diff --git a/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/subscribers.yaml b/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/subscribers.yaml index c0368e7a1..0e2fa5a59 100644 --- a/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/subscribers.yaml +++ b/hub/resourcedescriptors/postgres.kubedb.com/v1alpha1/subscribers.yaml @@ -59,6 +59,13 @@ spec: properties: databaseName: type: string + databaseRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic deletionPolicy: default: Delete enum: @@ -131,17 +138,10 @@ spec: - refs type: object type: object - serverRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic required: - databaseName + - databaseRef - name - publisher - - serverRef type: object type: object diff --git a/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml b/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml index 75d8f8f68..3b0d11a52 100644 --- a/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml +++ b/hub/resourcedescriptors/ui.kubedb.com/v1alpha1/databaseconnections.yaml @@ -57,6 +57,9 @@ spec: type: object spec: properties: + caCert: + format: byte + type: string connectOptions: additionalProperties: type: string