Skip to content

Commit 2746cde

Browse files
committed
tmp commit
1 parent 6b9f161 commit 2746cde

File tree

6 files changed

+46
-71
lines changed

6 files changed

+46
-71
lines changed

controllers/devbox/api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controllers/devbox/config/crd/bases/devbox.sealos.io_devboxes.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright © 2024 sealos.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
---
162
apiVersion: apiextensions.k8s.io/v1
173
kind: CustomResourceDefinition

controllers/devbox/config/crd/bases/devbox.sealos.io_devboxreleases.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright © 2024 sealos.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
---
162
apiVersion: apiextensions.k8s.io/v1
173
kind: CustomResourceDefinition

controllers/devbox/config/crd/bases/devbox.sealos.io_operationrequests.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright © 2024 sealos.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
---
162
apiVersion: apiextensions.k8s.io/v1
173
kind: CustomResourceDefinition

controllers/devbox/config/rbac/role.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright © 2024 sealos.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
---
162
apiVersion: rbac.authorization.k8s.io/v1
173
kind: ClusterRole

controllers/devbox/deploy/manifests/deploy.yaml.tmpl

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright © 2024 sealos.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
apiVersion: v1
162
kind: Namespace
173
metadata:
@@ -2765,6 +2751,44 @@ spec:
27652751
type: string
27662752
network:
27672753
properties:
2754+
extraPorts:
2755+
items:
2756+
description: ContainerPort represents a network port in a single
2757+
container.
2758+
properties:
2759+
containerPort:
2760+
description: |-
2761+
Number of port to expose on the pod's IP address.
2762+
This must be a valid port number, 0 < x < 65536.
2763+
format: int32
2764+
type: integer
2765+
hostIP:
2766+
description: What host IP to bind the external port to.
2767+
type: string
2768+
hostPort:
2769+
description: |-
2770+
Number of port to expose on the host.
2771+
If specified, this must be a valid port number, 0 < x < 65536.
2772+
If HostNetwork is specified, this must match ContainerPort.
2773+
Most containers do not need this.
2774+
format: int32
2775+
type: integer
2776+
name:
2777+
description: |-
2778+
If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
2779+
named port in a pod must have a unique name. Name for the port that can be
2780+
referred to by services.
2781+
type: string
2782+
protocol:
2783+
default: TCP
2784+
description: |-
2785+
Protocol for port. Must be UDP, TCP, or SCTP.
2786+
Defaults to "TCP".
2787+
type: string
2788+
required:
2789+
- containerPort
2790+
type: object
2791+
type: array
27682792
type:
27692793
enum:
27702794
- NodePort
@@ -2773,14 +2797,21 @@ spec:
27732797
required:
27742798
- type
27752799
type: object
2800+
nodeSelector:
2801+
additionalProperties:
2802+
type: string
2803+
type: object
27762804
resource:
27772805
additionalProperties:
27782806
anyOf:
27792807
- type: integer
27802808
- type: string
27812809
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
27822810
x-kubernetes-int-or-string: true
2811+
description: ResourceList is a set of (resource name, quantity) pairs.
27832812
type: object
2813+
runtimeClassName:
2814+
type: string
27842815
squash:
27852816
default: false
27862817
type: boolean

0 commit comments

Comments
 (0)