nicholasnet
02/16/2023, 6:41 PMredsquare
02/16/2023, 6:51 PMnicholasnet
02/16/2023, 6:53 PMclass KubernetesJob(Infrastructure):
redsquare
02/16/2023, 7:57 PMnicholasnet
02/17/2023, 4:53 PMapiVersion: apps/v1
kind: Job
....
---
apiVersion: "<http://koudingspawn.de/v1|koudingspawn.de/v1>"
kind: Vault
metadata:
name: control-service
namespace: dev
spec:
path: "control-service"
type: "KEYVALUEV2"
How can I add such block using customization can I still use customization
with op
: addinfra_overrides
redsquare
02/17/2023, 5:02 PMnicholasnet
02/17/2023, 5:05 PM---
separator.k8s_job = KubernetesJob(
namespace="prefect",
customizations=[
{
"op": "add",
"path": "/",
"value": {
{
"---": {
"apiVersion": "<http://koudingspawn.de/v1|koudingspawn.de/v1>",
"kind": "Vault",
"metadata": {
"name": "control-service",
"namespace": "dev"
},
"spec": {
"path": "control-service",
"type": "KEYVALUEV2"
}
}
}
},
}
],
)
redsquare
02/17/2023, 5:17 PMnicholasnet
02/17/2023, 5:18 PMredsquare
02/17/2023, 5:21 PMnicholasnet
02/17/2023, 5:23 PMvault
CRD needed that namespace but I will remove that and try like you said.redsquare
02/17/2023, 5:33 PMJai P
02/21/2023, 10:49 PMnicholasnet
02/22/2023, 12:02 AM