-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option for using agent initiated setup
Signed-off-by: Danil-Grigorev <danil.grigorev@suse.com>
- Loading branch information
1 parent
2c429b4
commit aa5858c
Showing
11 changed files
with
162 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,7 @@ rules: | |
resources: | ||
- clusters | ||
- clustergroups | ||
- clusterregistrationtokens | ||
verbs: | ||
- create | ||
- get | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// WARNING: generated by kopium - manual changes will be overwritten | ||
// kopium command: kopium -D Default -f - | ||
// kopium version: 0.19.0 | ||
|
||
#[allow(unused_imports)] | ||
mod prelude { | ||
pub use kube::CustomResource; | ||
pub use serde::{Serialize, Deserialize}; | ||
} | ||
use self::prelude::*; | ||
|
||
#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Default)] | ||
#[kube(group = "fleet.cattle.io", version = "v1alpha1", kind = "ClusterRegistrationToken", plural = "clusterregistrationtokens")] | ||
#[kube(namespaced)] | ||
#[kube(status = "ClusterRegistrationTokenStatus")] | ||
#[kube(schema = "disabled")] | ||
#[kube(derive="Default")] | ||
pub struct ClusterRegistrationTokenSpec { | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub ttl: Option<String>, | ||
} | ||
|
||
#[derive(Serialize, Deserialize, Clone, Debug, Default)] | ||
pub struct ClusterRegistrationTokenStatus { | ||
#[serde(default, skip_serializing_if = "Option::is_none")] | ||
pub expires: Option<String>, | ||
#[serde(default, skip_serializing_if = "Option::is_none", rename = "secretName")] | ||
pub secret_name: Option<String>, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.