Skip to content

feat: Add labels to deployed dynamic objects #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
# Rust
/target
.env

# Frontend
/node_modules
htpasswd
/result
.yarn

# Nix
gomod2nix.toml
Cargo.nix
crate-hashes.json
.yarn

# Misc
/demos
/stacks
/result
.env
.pnp
.pnp.*
108 changes: 69 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ serde_json = "1.0"
serde_yaml = "0.9"
sha2 = "0.10"
snafu = "0.7"
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.56.1" }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.61.0" }
tera = "1.18"
tokio = { version = "1.29.0", features = ["rt-multi-thread", "macros", "fs", "process"] }
tower-http = "0.4"
Expand Down
10 changes: 0 additions & 10 deletions demos/demos-v2-arg.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions demos/demos-v2.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions rust/stackable-cockpit/src/platform/demo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ use serde::{Deserialize, Serialize};

use crate::common::list::SpecIter;

mod params;
mod spec;

pub use params::*;
pub use spec::*;

/// This struct describes a complete demos v2 file
Expand Down
13 changes: 13 additions & 0 deletions rust/stackable-cockpit/src/platform/demo/params.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use stackable_operator::kvp::Labels;

pub struct DemoInstallParameters {
pub operator_namespace: String,
pub product_namespace: String,

pub stack_parameters: Vec<String>,
pub parameters: Vec<String>,
pub skip_release: bool,

pub stack_labels: Labels,
pub labels: Labels,
}
Loading