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

Adopt Kubernetes style TLS Secrets and add relevant flags #4147

Merged
merged 5 commits into from
Aug 23, 2023
Merged

Commits on Aug 23, 2023

  1. add support for Kubernetes TLS keys for flux create secret tls

    Add support for using `tls.key`, `tls.crt` and `ca.crt` keys while
    generating a Secret, using the `--tls-key-file`, `--tls-crt-file` and
    `--ca-crt-file` flags respectively.
    Mark the flags `--key-file`, `--cert-file` and `--ca-file` as
    deprecated.
    
    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    bf36a29 View commit details
    Browse the repository at this point in the history
  2. deprecate TLS flags for flux create secret helm

    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    b32051d View commit details
    Browse the repository at this point in the history
  3. add flag --ca-crt-file to flux create secret git

    Add flag `--ca-crt-file` to `flux create secret git` to specify the path
    to CA certificate. It takes precedence over `--ca-file` and uses the
    key `ca.crt` in the generated Secret.
    
    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    2fc9d73 View commit details
    Browse the repository at this point in the history
  4. add deprecation warning per secret key field and constant

    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    6464d6c View commit details
    Browse the repository at this point in the history
  5. modify flux create secret tls to create secrets of type TLS

    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    8df27d8 View commit details
    Browse the repository at this point in the history