We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e32cd7 commit b66f3c3Copy full SHA for b66f3c3
2 files changed
rust/operator-binary/src/main.rs
@@ -222,7 +222,11 @@ async fn create_default_secretclass(
222
.add_label(name)
223
.add_label(Label::stackable_vendor());
224
225
- tls_secret_class.metadata.namespace = Some(operator_namespace);
+ if let v1alpha2::SecretClassBackend::AutoTls(auto_tls_backend) =
226
+ &mut tls_secret_class.spec.backend
227
+ {
228
+ auto_tls_backend.ca.secret.namespace = operator_namespace
229
+ }
230
231
client.create_if_missing(&tls_secret_class).await?;
232
rust/operator-binary/src/secretclass.yaml
@@ -9,5 +9,5 @@ spec:
9
ca:
10
secret:
11
name: secret-provisioner-tls-ca
12
- namespace: stackable-operator
+ namespace: stackable-operators
13
autoGenerate: true
0 commit comments