fix(cert): namespace of cm for okd ingress should be openshift-config not default
This commit is contained in:
parent
84ae60fbbf
commit
5e4ceed91b
@ -130,13 +130,14 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: custom-ca
|
name: custom-ca
|
||||||
|
namespace: openshift-config
|
||||||
data:
|
data:
|
||||||
ca-bundle.crt: {ca_bundle}
|
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!(
|
Ok(Outcome::success(format!(
|
||||||
"successfully created cm : {} in default namespace",
|
"successfully created cm : {} in openshift-config namespace",
|
||||||
ca_name
|
ca_name
|
||||||
)))
|
)))
|
||||||
}
|
}
|
||||||
@ -217,6 +218,6 @@ data:
|
|||||||
.patch_resource_by_merge("default", Some(operator_namespace), &gvk, patch)
|
.patch_resource_by_merge("default", Some(operator_namespace), &gvk, patch)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
Ok(Outcome::success("successfully pathed ingress operator to"))
|
Ok(Outcome::success(format!("successfully pathed ingress operator to use secret {}", secret_name)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user