Skip to content

Commit 40e3336

Browse files
authored
Adds more custom types to be excluded in run-job. (#231)
This is a quick fix, probably needs a bit of a different way to do this. Maybe excluding based on group?
1 parent 59dc6d8 commit 40e3336

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

sentry_kube/cli/run_job.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,13 @@ def run_job(ctx, job_name, arg, kwarg, service_name, yes, quiet):
4444
cluster_name,
4545
# Skip GKE CRDs which don't work with our
4646
# client-side kubernetes API management
47-
skip_kinds=("BackendConfig", "ManagedCertificate", "VerticalPodAutoscaler"),
47+
skip_kinds=(
48+
"BackendConfig",
49+
"ManagedCertificate",
50+
"VerticalPodAutoscaler",
51+
"SecretProviderClass",
52+
"SecretSync",
53+
),
4854
kind_matches=("Job",),
4955
name_matches=(job_name,),
5056
extra_args=arg,

0 commit comments

Comments
 (0)