Skip to content

Commit 820a9e8

Browse files
authored
Releases 1.2.0 (#60)
New Features: - Added Softgate CRD - Added Switch CRD - Added Controller CRD - Added Link CRD Improvements: - Changed default Calico ASN range Bug Fixes: - Throw an error when the port used by BGP is not found
1 parent 9eb09c1 commit 820a9e8

10 files changed

+935
-2
lines changed

deploy/charts/netris-operator/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.5.0
18+
version: 0.6.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: v1.1.0
23+
appVersion: v1.2.0
2424
home: https://github.com/netrisai/netris-operator
2525
icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink
2626
keywords:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
annotations:
7+
controller-gen.kubebuilder.io/version: v0.6.1
8+
creationTimestamp: null
9+
name: controllermeta.k8s.netris.ai
10+
spec:
11+
group: k8s.netris.ai
12+
names:
13+
kind: ControllerMeta
14+
listKind: ControllerMetaList
15+
plural: controllermeta
16+
singular: controllermeta
17+
scope: Namespaced
18+
versions:
19+
- name: v1alpha1
20+
schema:
21+
openAPIV3Schema:
22+
description: ControllerMeta is the Schema for the controllermeta API
23+
properties:
24+
apiVersion:
25+
description: 'APIVersion defines the versioned schema of this representation
26+
of an object. Servers should convert recognized schemas to the latest
27+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
28+
type: string
29+
kind:
30+
description: 'Kind is a string value representing the REST resource this
31+
object represents. Servers may infer this from the endpoint the client
32+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
33+
type: string
34+
metadata:
35+
type: object
36+
spec:
37+
description: ControllerMetaSpec defines the desired state of ControllerMeta
38+
properties:
39+
controllerGeneration:
40+
format: int64
41+
type: integer
42+
controllerName:
43+
type: string
44+
description:
45+
type: string
46+
id:
47+
type: integer
48+
imported:
49+
type: boolean
50+
mainIp:
51+
type: string
52+
reclaimPolicy:
53+
type: boolean
54+
site:
55+
type: integer
56+
tenant:
57+
type: integer
58+
required:
59+
- controllerGeneration
60+
- controllerName
61+
- id
62+
- imported
63+
- reclaimPolicy
64+
type: object
65+
status:
66+
description: ControllerMetaStatus defines the observed state of ControllerMeta
67+
type: object
68+
type: object
69+
served: true
70+
storage: true
71+
subresources:
72+
status: {}
73+
status:
74+
acceptedNames:
75+
kind: ""
76+
plural: ""
77+
conditions: []
78+
storedVersions: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
annotations:
7+
controller-gen.kubebuilder.io/version: v0.6.1
8+
creationTimestamp: null
9+
name: controllers.k8s.netris.ai
10+
spec:
11+
group: k8s.netris.ai
12+
names:
13+
kind: Controller
14+
listKind: ControllerList
15+
plural: controllers
16+
singular: controller
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- jsonPath: .spec.tenant
21+
name: Tenant
22+
type: string
23+
- jsonPath: .spec.site
24+
name: Site
25+
type: string
26+
- jsonPath: .spec.mainIp
27+
name: Main IP
28+
type: string
29+
- jsonPath: .status.status
30+
name: Status
31+
type: string
32+
- jsonPath: .metadata.creationTimestamp
33+
name: Age
34+
type: date
35+
name: v1alpha1
36+
schema:
37+
openAPIV3Schema:
38+
description: Controller is the Schema for the controllers API
39+
properties:
40+
apiVersion:
41+
description: 'APIVersion defines the versioned schema of this representation
42+
of an object. Servers should convert recognized schemas to the latest
43+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
44+
type: string
45+
kind:
46+
description: 'Kind is a string value representing the REST resource this
47+
object represents. Servers may infer this from the endpoint the client
48+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
49+
type: string
50+
metadata:
51+
type: object
52+
spec:
53+
description: ControllerSpec defines the desired state of Controller
54+
properties:
55+
description:
56+
type: string
57+
mainIp:
58+
pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
59+
type: string
60+
site:
61+
type: string
62+
tenant:
63+
type: string
64+
type: object
65+
status:
66+
description: ControllerStatus defines the observed state of Controller
67+
properties:
68+
message:
69+
type: string
70+
status:
71+
type: string
72+
type: object
73+
type: object
74+
served: true
75+
storage: true
76+
subresources:
77+
status: {}
78+
status:
79+
acceptedNames:
80+
kind: ""
81+
plural: ""
82+
conditions: []
83+
storedVersions: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
annotations:
7+
controller-gen.kubebuilder.io/version: v0.6.1
8+
creationTimestamp: null
9+
name: linkmeta.k8s.netris.ai
10+
spec:
11+
group: k8s.netris.ai
12+
names:
13+
kind: LinkMeta
14+
listKind: LinkMetaList
15+
plural: linkmeta
16+
singular: linkmeta
17+
scope: Namespaced
18+
versions:
19+
- name: v1alpha1
20+
schema:
21+
openAPIV3Schema:
22+
description: LinkMeta is the Schema for the linkmeta API
23+
properties:
24+
apiVersion:
25+
description: 'APIVersion defines the versioned schema of this representation
26+
of an object. Servers should convert recognized schemas to the latest
27+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
28+
type: string
29+
kind:
30+
description: 'Kind is a string value representing the REST resource this
31+
object represents. Servers may infer this from the endpoint the client
32+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
33+
type: string
34+
metadata:
35+
type: object
36+
spec:
37+
description: LinkMetaSpec defines the desired state of LinkMeta
38+
properties:
39+
id:
40+
type: string
41+
imported:
42+
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
43+
Important: Run "make" to regenerate code after modifying this file'
44+
type: boolean
45+
linkGeneration:
46+
format: int64
47+
type: integer
48+
linkName:
49+
type: string
50+
local:
51+
type: integer
52+
reclaimPolicy:
53+
type: boolean
54+
remote:
55+
type: integer
56+
required:
57+
- id
58+
- imported
59+
- linkGeneration
60+
- linkName
61+
- local
62+
- reclaimPolicy
63+
- remote
64+
type: object
65+
status:
66+
description: LinkMetaStatus defines the observed state of LinkMeta
67+
type: object
68+
type: object
69+
served: true
70+
storage: true
71+
subresources:
72+
status: {}
73+
status:
74+
acceptedNames:
75+
kind: ""
76+
plural: ""
77+
conditions: []
78+
storedVersions: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
annotations:
7+
controller-gen.kubebuilder.io/version: v0.6.1
8+
creationTimestamp: null
9+
name: links.k8s.netris.ai
10+
spec:
11+
group: k8s.netris.ai
12+
names:
13+
kind: Link
14+
listKind: LinkList
15+
plural: links
16+
singular: link
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- jsonPath: .status.ports
21+
name: Ports
22+
type: string
23+
- jsonPath: .status.status
24+
name: Status
25+
type: string
26+
- jsonPath: .metadata.creationTimestamp
27+
name: Age
28+
type: date
29+
name: v1alpha1
30+
schema:
31+
openAPIV3Schema:
32+
description: Link is the Schema for the links API
33+
properties:
34+
apiVersion:
35+
description: 'APIVersion defines the versioned schema of this representation
36+
of an object. Servers should convert recognized schemas to the latest
37+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
38+
type: string
39+
kind:
40+
description: 'Kind is a string value representing the REST resource this
41+
object represents. Servers may infer this from the endpoint the client
42+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
43+
type: string
44+
metadata:
45+
type: object
46+
spec:
47+
description: LinkSpec defines the desired state of Link
48+
properties:
49+
ports:
50+
items:
51+
description: LinkSpecPort .
52+
type: string
53+
maxItems: 2
54+
minItems: 2
55+
type: array
56+
required:
57+
- ports
58+
type: object
59+
status:
60+
description: LinkStatus defines the observed state of Link
61+
properties:
62+
message:
63+
type: string
64+
ports:
65+
type: string
66+
status:
67+
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
68+
of cluster Important: Run "make" to regenerate code after modifying
69+
this file'
70+
type: string
71+
type: object
72+
type: object
73+
served: true
74+
storage: true
75+
subresources:
76+
status: {}
77+
status:
78+
acceptedNames:
79+
kind: ""
80+
plural: ""
81+
conditions: []
82+
storedVersions: []

0 commit comments

Comments
 (0)