Skip to content

Commit 5d1f985

Browse files
committed
update LinuxSuRen/atest-operator
Signed-off-by: Sebastian Hoß <[email protected]>
1 parent 6574fe1 commit 5d1f985

File tree

6 files changed

+73
-3
lines changed

6 files changed

+73
-3
lines changed

.reuse/dep5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,10 @@ Files: crd-catalog/LinuxSuRen/api-testing/*
923923
Copyright: The LinuxSuRen/api-testing Authors
924924
License: MIT
925925

926+
Files: crd-catalog/LinuxSuRen/atest-operator/*
927+
Copyright: The LinuxSuRen/atest-operator Authors
928+
License: MIT
929+
926930
Files: crd-catalog/litmuschaos/chaos-operator/*
927931
Copyright: The litmuschaos/chaos-operator Authors
928932
License: Apache-2.0

code-generator/src/catalog.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2535,8 +2535,14 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
25352535
UpstreamSource {
25362536
project_name: "LinuxSuRen/api-testing",
25372537
license: MIT,
2538+
urls: &[], // was renamed to LinuxSuRen/atest-operator
2539+
ignores: &[],
2540+
},
2541+
UpstreamSource {
2542+
project_name: "LinuxSuRen/atest-operator",
2543+
license: MIT,
25382544
urls: &[
2539-
"https://github.com/LinuxSuRen/api-testing/blob/master/operator/config/crd/bases/core.linuxsuren.github.com_atests.yaml",
2545+
"https://github.com/LinuxSuRen/atest-operator/blob/master/config/crd/bases/core.linuxsuren.github.com_atests.yaml",
25402546
],
25412547
ignores: &[],
25422548
},
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
apiVersion: "apiextensions.k8s.io/v1"
2+
kind: "CustomResourceDefinition"
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: "v0.11.1"
6+
name: "atests.core.linuxsuren.github.com"
7+
spec:
8+
group: "core.linuxsuren.github.com"
9+
names:
10+
kind: "ATest"
11+
listKind: "ATestList"
12+
plural: "atests"
13+
singular: "atest"
14+
scope: "Namespaced"
15+
versions:
16+
- name: "v1alpha1"
17+
schema:
18+
openAPIV3Schema:
19+
description: "ATest is the Schema for the atests API"
20+
properties:
21+
apiVersion:
22+
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"
23+
type: "string"
24+
kind:
25+
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"
26+
type: "string"
27+
metadata:
28+
type: "object"
29+
spec:
30+
description: "ATestSpec defines the desired state of ATest"
31+
properties:
32+
image:
33+
type: "string"
34+
persistent:
35+
description: "Persistent defines the persistent volume claim"
36+
properties:
37+
enabled:
38+
type: "boolean"
39+
storageClass:
40+
type: "string"
41+
type: "object"
42+
replicas:
43+
format: "int32"
44+
type: "integer"
45+
serviceType:
46+
description: "Service Type string describes ingress methods for a service"
47+
type: "string"
48+
version:
49+
type: "string"
50+
type: "object"
51+
status:
52+
description: "ATestStatus defines the observed state of ATest"
53+
type: "object"
54+
type: "object"
55+
served: true
56+
storage: true
57+
subresources:
58+
status: {}

custom-resources/core_linuxsuren_github_com/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ This crate is part of [kube-custom-resources-rs](https://github.com/metio/kube-c
1313

1414
### core.linuxsuren.github.com/v1alpha1
1515
- `ATest`
16+
- `ATest`

custom-resources/core_linuxsuren_github_com/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This crate contains [kube-rs](https://kube.rs/) compatible bindings for Kubernet
55
66
## core.linuxsuren.github.com/v1alpha1
77
- `ATest`
8+
- `ATest`
89
*/
910
#[cfg(feature = "v1alpha1")]
1011
pub mod v1alpha1;

custom-resources/core_linuxsuren_github_com/src/v1alpha1/atests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// WARNING: generated by kopium - manual changes will be overwritten
2-
// kopium command: kopium --docs --derive=Default --derive=PartialEq --smart-derive-elision --filename crd-catalog/LinuxSuRen/api-testing/core.linuxsuren.github.com/v1alpha1/atests.yaml
3-
// kopium version: 0.21.2
2+
// kopium command: kopium --docs --derive=Default --derive=PartialEq --smart-derive-elision --filename crd-catalog/LinuxSuRen/atest-operator/core.linuxsuren.github.com/v1alpha1/atests.yaml
3+
// kopium version: 0.21.1
44

55
#[allow(unused_imports)]
66
mod prelude {

0 commit comments

Comments
 (0)