fix/argo #133
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: NationTech/harmony#133
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/argo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -59,6 +61,7 @@ pub struct RustWebapp {
pub domain: Url,
/// The path to the root of the Rust project to be containerized.
pub project_root: PathBuf,
pub service_port: u32,
Is there a way to not have to provide this? It seems to me that the end user shouldn't have to worry about it and that it should be handled by the topology.
@ -176,18 +176,18 @@ impl<
}
target => {
info!("Deploying {} to target {target:?}", self.application.name());
info!("application name {}", self.application.name());
The info above wasn't enough? It's already logging the
application.name
@ -88,0 +103,4 @@
) -> Result<String, InterpretError> {
//This should be the job of the topology to determine if we are in
//openshift, potentially we need on openshift topology the same way we create a
//localhosttopology
It's probably a bit too much to fix it now, but indeed the Topology should provide the capability to get the host domain. Actually it should probably provide a higher level capability: create domain for a service (<-- example of a Tell Don't Ask).
For example:
@ -205,0 +202,4 @@
// return Ok(Outcome::success("Grafana CRDs already exist".to_string()));
// }
//may not need to check this since the grafana operator is namespaceScope=true -> it
//will deploy with rolebindings rather than cluster role bindings
still need to keep that commented?