Skip to content

Commit

Permalink
update args (kubernetes-sigs#9856)
Browse files Browse the repository at this point in the history
Signed-off-by: Anant Vijay <anantvijay3@gmail.com>
  • Loading branch information
XDRAGON2002 authored and HoKim98 committed Mar 8, 2023
1 parent 3e5a7e9 commit 51d2107
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 4 additions & 6 deletions roles/network_plugin/cilium/templates/hubble/job.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 51d2107

Please sign in to comment.