Skip to content

Commit 3f14f19

Browse files
committed
update CRD and version number
1 parent 2b480dc commit 3f14f19

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "chisel-operator"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2021"
55
description = "Chisel tunnel operator for Kubernetes"
66
authors = [

deploy/crd/exit-node.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
scope: Namespaced
1414
versions:
1515
- additionalPrinterColumns: []
16-
name: v1
16+
name: v1.1
1717
schema:
1818
openAPIV3Schema:
1919
description: Auto-generated derived type for ExitNodeSpec via `CustomResource`
@@ -66,20 +66,22 @@ spec:
6666
provider:
6767
type: string
6868
service_binding:
69-
nullable: true
70-
properties:
71-
name:
72-
type: string
73-
namespace:
74-
type: string
75-
required:
76-
- name
77-
- namespace
78-
type: object
69+
items:
70+
properties:
71+
name:
72+
type: string
73+
namespace:
74+
type: string
75+
required:
76+
- name
77+
- namespace
78+
type: object
79+
type: array
7980
required:
8081
- ip
8182
- name
8283
- provider
84+
- service_binding
8385
type: object
8486
required:
8587
- spec

src/ops.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ impl ExitNodeStatus {
146146
.cloned()
147147
}
148148

149+
#[allow(dead_code)] // It is indeed being used in cloud/*
149150
pub fn new(provider: String, name: String, ip: String, id: Option<&str>) -> Self {
150151
Self {
151152
provider,

0 commit comments

Comments
 (0)