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

Convert kubernetes-apps to use kubectl directly #11700

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Nov 10, 2024

  1. Define a standard commandline for applying manifests

    This is expected to be used in the command module this way:
    command:
      cmd: "{{ kubectl_apply_stdin }}"
      stdin: <... rendered manifests > -> using the 'template' lookup plugin
      in most cases.
    
    The advantages over the kube plugin module integrated in kubespray
    (which this should replace eventually):
    - way easier to modify to take advantage of new features (server-side
      apply for instance)
    - no need for a separate template tasks + checking the result (which can
      introduce problem if the first playbook runs encounters an error).
    VannTen committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    8d23bc6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    871d0e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0be3186 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13b4ede View commit details
    Browse the repository at this point in the history
  5. Convert CoreDNS Secondary to kubectl_apply_stdin

    Note that we're reapplying the RBAC/Sa/Config from coredns which is not
    strictly necessary, but harmless, when the secondary is enabled.
    VannTen committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    3d2746c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ffda0b4 View commit details
    Browse the repository at this point in the history
  7. Convert netchecker to kubectl_apply_stdin

    Not that the Apparmor check result is no longer used since the PSP removal.
    VannTen committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    1508901 View commit details
    Browse the repository at this point in the history