WIP: feat(update default ingress class): score to update default ingress class to use trusted CA cert #158

Closed
wjro wants to merge 4 commits from feat/okd_default_ingress_class into master
Showing only changes of commit 5e4ceed91b - Show all commits

View File

@ -130,13 +130,14 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: custom-ca
namespace: openshift-config
data:
ca-bundle.crt: {ca_bundle}
#"
);
client.apply_yaml(serde_yaml::to_value(&cm), None).await?;
client.apply_yaml(serde_yaml::to_value(&cm), Some("openshift-config")).await?;
Ok(Outcome::success(format!(
"successfully created cm : {} in default namespace",
"successfully created cm : {} in openshift-config namespace",
ca_name
)))
}
@ -217,6 +218,6 @@ data:
.patch_resource_by_merge("default", Some(operator_namespace), &gvk, patch)
.await?;
Ok(Outcome::success("successfully pathed ingress operator to"))
Ok(Outcome::success(format!("successfully pathed ingress operator to use secret {}", secret_name)))
}
}