Skip to content

Commit

Permalink
add tungstenfabric/tf-operator
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Apr 3, 2024
1 parent 9b764aa commit eb567e3
Show file tree
Hide file tree
Showing 34 changed files with 10,627 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -1171,6 +1171,10 @@ Files: crd-catalog/traefik/traefik/*
Copyright: The traefik/traefik Authors
License: MIT

Files: crd-catalog/tungstenfabric/tf-operator/*
Copyright: The tungstenfabric/tf-operator Authors
License: Apache-2.0

Files: crd-catalog/validatedpatterns/patterns-operator/*
Copyright: The validatedpatterns/patterns-operator Authors
License: Apache-2.0
Expand Down
20 changes: 20 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2924,6 +2924,26 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/traefik/traefik/blob/master/docs/content/reference/dynamic-configuration/traefik.io_traefikservices.yaml",
],
},
UpstreamSource {
project_name: "tungstenfabric/tf-operator",
license: APACHE_V2,
urls: &[
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_analytics_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_analyticsalarm_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_analyticssnmp_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_cassandras_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_configs_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_controls_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_kubemanagers_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_managers_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_queryengine_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_rabbitmqs_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_redis_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_vrouters_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_webuis_crd.yaml",
"https://github.com/tungstenfabric/tf-operator/blob/master/deploy/crds/tf.tungsten.io_zookeepers_crd.yaml",
],
},
UpstreamSource {
project_name: "validatedpatterns/patterns-operator",
license: APACHE_V2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
name: "analytics.tf.tungsten.io"
spec:
group: "tf.tungsten.io"
names:
kind: "Analytics"
listKind: "AnalyticsList"
plural: "analytics"
singular: "analytics"
scope: "Namespaced"
versions:
- additionalPrinterColumns:
- jsonPath: ".status.endpoint"
name: "Endpoint"
type: "string"
- jsonPath: ".metadata.creationTimestamp"
name: "Age"
type: "date"
- jsonPath: ".status.active"
name: "Active"
type: "boolean"
name: "v1alpha1"
schema:
openAPIV3Schema:
description: "Analytics is the Schema for the analytics API."
properties:
apiVersion:
description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
type: "string"
kind:
description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: "string"
metadata:
type: "object"
spec:
description: "AnalyticsSpec is the Spec for the Analytics API."
properties:
commonConfiguration:
description: "PodConfiguration is the common services struct."
properties:
authParameters:
description: "AuthParameters auth parameters"
properties:
authMode:
description: "AuthenticationMode auth mode"
enum:
- "noauth"
- "keystone"
type: "string"
keystoneAuthParameters:
description: "KeystoneAuthParameters keystone parameters"
properties:
address:
type: "string"
adminPassword:
type: "string"
adminPort:
type: "integer"
adminTenant:
type: "string"
adminUsername:
type: "string"
authProtocol:
type: "string"
insecure:
type: "boolean"
port:
type: "integer"
projectDomainName:
type: "string"
region:
type: "string"
userDomainName:
type: "string"
type: "object"
keystoneSecretName:
type: "string"
type: "object"
distribution:
description: "OS family"
type: "string"
imagePullSecrets:
description: "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec."
items:
type: "string"
type: "array"
logLevel:
description: "Kubernetes Cluster Configuration"
enum:
- "info"
- "debug"
- "warning"
- "error"
- "critical"
- "none"
type: "string"
nodeSelector:
additionalProperties:
type: "string"
description: "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/."
type: "object"
tolerations:
description: "If specified, the pod's tolerations."
items:
description: "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>."
properties:
effect:
description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."
type: "string"
key:
description: "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys."
type: "string"
operator:
description: "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category."
type: "string"
tolerationSeconds:
description: "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system."
format: "int64"
type: "integer"
value:
description: "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string."
type: "string"
type: "object"
type: "array"
type: "object"
serviceConfiguration:
description: "AnalyticsConfiguration is the Spec for the Analytics API."
properties:
aaaMode:
description: "AAAMode aaa mode"
enum:
- "noauth"
- "rbac"
type: "string"
analyticsConfigAuditTTL:
description: "Time (in hours) the analytics config data entering the collector stays in the Cassandra database. Defaults to 2160 hours."
type: "integer"
analyticsDataTTL:
description: "Time (in hours) that the analytics object and log data stays in the Cassandra database. Defaults to 48 hours."
type: "integer"
analyticsFlowTTL:
description: "Time to live (TTL) for flow data in hours. Defaults to 2 hours."
type: "integer"
analyticsIntrospectPort:
type: "integer"
analyticsPort:
type: "integer"
analyticsStatisticsTTL:
description: "Time to live (TTL) for statistics data in hours. Defaults to 4 hours."
type: "integer"
collectorIntrospectPort:
type: "integer"
collectorPort:
type: "integer"
containers:
items:
description: "Container defines name, image and command."
properties:
command:
items:
type: "string"
type: "array"
image:
type: "string"
name:
type: "string"
type: "object"
type: "array"
type: "object"
required:
- "serviceConfiguration"
type: "object"
status:
description: "AnalyticsStatus status of Analytics"
properties:
active:
type: "boolean"
configChanged:
type: "boolean"
degraded:
type: "boolean"
endpoint:
type: "string"
nodes:
additionalProperties:
properties:
hostname:
type: "string"
ip:
type: "string"
type: "object"
type: "object"
type: "object"
type: "object"
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit eb567e3

Please sign in to comment.