Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cilium hubble certgen Job and CronJob wrong args #9844

Closed
mrlexor opened this issue Mar 1, 2023 · 3 comments · Fixed by #9856
Closed

Cilium hubble certgen Job and CronJob wrong args #9844

mrlexor opened this issue Mar 1, 2023 · 3 comments · Fixed by #9856
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@mrlexor
Copy link

mrlexor commented Mar 1, 2023

Environment:

  • Cloud provider or hardware configuration:
    Hardware
  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
    Ubuntu 22.04.1
  • Version of Ansible (ansible --version):
    ansible 2.12.10
  • Version of Python (python --version):
    python 3.11.1

Kubespray version (commit) (git rev-parse --short HEAD):
v2.21.0

Network plugin used:
Cilium

Full inventory with variables (ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"):

Don't matter
Command used to invoke ansible:
ansible-playbook -I inventory cluster.yaml -t cilium

Output of ansible run:

Everything alright

Anything else do we need to know:

If cilium_enable_hubble, cilium_hubble_install and cilium_hubble_tls_generate are enabled so the task Cilium | Create Cilium Hubble manifests will create Job and CronJob for autogenerating certificates for cilium hubble using image cilium/certgen version v0.1.8 here with wrong command line arguments.

Since version v0.1.7 command line arguments were changed:
--hubble-ca-reuse-secret -> --ca-reuse-secret
--hubble-ca-secret-name -> --ca-secret-name
--hubble-ca-generate -> --ca-generate
--hubble-ca-validity-duration -> --ca-validity-duration
--hubble-ca-config-map-create -> was removed
--hubble-ca-config-map-name -> was removed

@mrlexor mrlexor added the kind/bug Categorizes issue or PR as related to a bug. label Mar 1, 2023
@XDRAGON2002
Copy link
Member

I'll take this up and open a patch.

/assign

@mrlexor
Copy link
Author

mrlexor commented Mar 1, 2023

Is it possible to bump Cilium version to v1.13.0?

@XDRAGON2002
Copy link
Member

Is it possible to bump Cilium version to v1.13.0?

@yankay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants