From 1d9502e01d39c8111e2ad09f22ef025c0e89e284 Mon Sep 17 00:00:00 2001 From: DRAGON2002 <81813720+XDRAGON2002@users.noreply.github.com> Date: Mon, 6 Mar 2023 08:08:57 +0530 Subject: [PATCH] update args (#9856) Signed-off-by: Anant Vijay --- .../cilium/templates/hubble/cronjob.yml.j2 | 10 ++++------ .../network_plugin/cilium/templates/hubble/job.yml.j2 | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 b/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 index dd97bbfc5..1ec1f07d5 100644 --- a/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 +++ b/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 @@ -30,12 +30,10 @@ spec: # the values used in past runs by inspecting the completed pod. args: - "--cilium-namespace=kube-system" - - "--hubble-ca-reuse-secret=true" - - "--hubble-ca-secret-name=hubble-ca-secret" - - "--hubble-ca-generate=true" - - "--hubble-ca-validity-duration=94608000s" - - "--hubble-ca-config-map-create=true" - - "--hubble-ca-config-map-name=hubble-ca-cert" + - "--ca-reuse-secret=true" + - "--ca-secret-name=hubble-ca-secret" + - "--ca-generate=true" + - "--ca-validity-duration=94608000s" - "--hubble-server-cert-generate=true" - "--hubble-server-cert-common-name=*.{{ cilium_cluster_name }}.hubble-grpc.cilium.io" - "--hubble-server-cert-validity-duration=94608000s" diff --git a/roles/network_plugin/cilium/templates/hubble/job.yml.j2 b/roles/network_plugin/cilium/templates/hubble/job.yml.j2 index 38a42bfd0..544006018 100644 --- a/roles/network_plugin/cilium/templates/hubble/job.yml.j2 +++ b/roles/network_plugin/cilium/templates/hubble/job.yml.j2 @@ -26,12 +26,10 @@ spec: # the values used in past runs by inspecting the completed pod. args: - "--cilium-namespace=kube-system" - - "--hubble-ca-reuse-secret=true" - - "--hubble-ca-secret-name=hubble-ca-secret" - - "--hubble-ca-generate=true" - - "--hubble-ca-validity-duration=94608000s" - - "--hubble-ca-config-map-create=true" - - "--hubble-ca-config-map-name=hubble-ca-cert" + - "--ca-reuse-secret=true" + - "--ca-secret-name=hubble-ca-secret" + - "--ca-generate=true" + - "--ca-validity-duration=94608000s" - "--hubble-server-cert-generate=true" - "--hubble-server-cert-common-name=*.{{ cilium_cluster_name }}.hubble-grpc.cilium.io" - "--hubble-server-cert-validity-duration=94608000s"