Skip to content

Commit

Permalink
add theketchio/ketch
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Nov 29, 2023
1 parent 25c46a9 commit 9e9fbdf
Show file tree
Hide file tree
Showing 11 changed files with 4,067 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,10 @@ Files: crd-catalog/tektoncd/operator/*
Copyright: The tektoncd/operator Authors
License: Apache-2.0

Files: crd-catalog/theketchio/ketch/*
Copyright: The theketchio/ketch Authors
License: Apache-2.0

Files: crd-catalog/traefik/traefik/*
Copyright: The traefik/traefik Authors
License: MIT
Expand Down
8 changes: 8 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2197,6 +2197,14 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/tektoncd/operator/blob/main/config/base/300-operator_v1alpha1_trigger_crd.yaml",
],
},
UpstreamSource {
project_name: "theketchio/ketch",
license: APACHE_V2,
urls: &[
"https://github.com/theketchio/ketch/blob/main/config/crd/bases/theketch.io_apps.yaml",
"https://github.com/theketchio/ketch/blob/main/config/crd/bases/theketch.io_jobs.yaml",
],
},
UpstreamSource {
project_name: "traefik/traefik",
license: MIT,
Expand Down
1,916 changes: 1,916 additions & 0 deletions crd-catalog/theketchio/ketch/theketch.io/v1beta1/apps.yaml

Large diffs are not rendered by default.

140 changes: 140 additions & 0 deletions crd-catalog/theketchio/ketch/theketch.io/v1beta1/jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.2
name: jobs.theketch.io
spec:
group: theketch.io
names:
kind: Job
listKind: JobList
plural: jobs
singular: job
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: Job is the Schema for the jobs 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: JobSpec defines the desired state of Job
properties:
backoffLimit:
minimum: 0.0
type: integer
completions:
type: integer
containers:
items:
description: Container represents a single container run in a Job
properties:
command:
items:
type: string
type: array
image:
type: string
name:
type: string
required:
- command
- image
- name
type: object
type: array
description:
type: string
failedJobsHistoryLimit:
type: integer
name:
type: string
namespace:
type: string
parallelism:
type: integer
policy:
description: Policy represents the policy types a job can have
properties:
concurrencyPolicy:
description: CronJob-specific
type: string
restartPolicy:
description: RestartPolicy describes how the container should be restarted. Only one of the following restart policies may be specified. If none of the following policies is specified, the default one is RestartPolicyAlways.
type: string
type: object
schedule:
description: CronJob-specific
type: string
startingDeadlineSeconds:
type: integer
successfulJobsHistoryLimit:
type: integer
suspend:
type: boolean
type:
type: string
version:
type: string
required:
- name
- namespace
- type
type: object
status:
description: JobStatus defines the observed state of Job
properties:
active:
description: CronJob-specific
type: boolean
conditions:
items:
description: Condition contains details for the current condition of this app.
properties:
lastTransitionTime:
description: LastTransitionTime is the timestamp corresponding to the last status.
format: date-time
type: string
message:
description: A human readable message indicating details about why the application is in this condition.
type: string
status:
description: Status of the condition.
type: string
type:
description: Type of the condition.
type: string
required:
- status
- type
type: object
type: array
lastScheduleTime:
format: date-time
type: string
lastSuccessfulTime:
format: date-time
type: string
required:
- active
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ''
plural: ''
conditions: []
storedVersions: []
2 changes: 1 addition & 1 deletion dev/Containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: The kube-custom-resources-rs Authors
# SPDX-License-Identifier: 0BSD

FROM docker.io/mikefarah/yq:4.35.2 AS yq
FROM docker.io/mikefarah/yq:latest AS yq
FROM docker.io/metio/devcontainers-rust:latest

COPY --from=yq /usr/bin/yq /usr/bin/yq
Expand Down
1 change: 1 addition & 0 deletions kube-custom-resources-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ stunner_l7mp_io = []
submariner_io = []
templates_gatekeeper_sh = []
tests_testkube_io = []
theketch_io = []
topology_node_k8s_io = []
topolvm_cybozu_com = []
traefik_io = []
Expand Down
9 changes: 9 additions & 0 deletions kube-custom-resources-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2533,6 +2533,13 @@ Every group has its own feature in this crate. The available features are as fol
- `Test`
- `TestSuite`
## theketch_io
- apiVersion: `theketch.io/v1beta1`
- kinds:
- `App`
- `Job`
## topology_node_k8s_io
- apiVersion: `topology.node.k8s.io/v1alpha1`
Expand Down Expand Up @@ -3134,6 +3141,8 @@ pub mod submariner_io;
pub mod templates_gatekeeper_sh;
#[cfg(feature = "tests_testkube_io")]
pub mod tests_testkube_io;
#[cfg(feature = "theketch_io")]
pub mod theketch_io;
#[cfg(feature = "topology_node_k8s_io")]
pub mod topology_node_k8s_io;
#[cfg(feature = "topolvm_cybozu_com")]
Expand Down
1 change: 1 addition & 0 deletions kube-custom-resources-rs/src/theketch_io/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod v1beta1;
Loading

0 comments on commit 9e9fbdf

Please sign in to comment.