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

feat: add user impersonation to all commands #549

Merged

Commits on Aug 22, 2024

  1. Make is possible to build with Go 1.23. (kudobuilder#548)

    Signed-off-by: Marcin Owsiany <porridge@redhat.com>
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    porridge authored and logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    1ab1d97 View commit details
    Browse the repository at this point in the history
  2. add k8s generic cli options as flags to main cmd

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2a4a9ba View commit details
    Browse the repository at this point in the history
  3. feat: pass impersonation user to REST config construction

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    a531789 View commit details
    Browse the repository at this point in the history
  4. feat: split out impersonation into its own package

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    6f2febf View commit details
    Browse the repository at this point in the history
  5. feat: assign imperisonation user via distinct package

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    54c1448 View commit details
    Browse the repository at this point in the history
  6. Bump the kubernetes group with 8 updates (kudobuilder#550)

    Bumps the kubernetes group with 8 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [k8s.io/api](https://github.com/kubernetes/api) | `0.30.3` | `0.31.0` |
    | [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.30.3` | `0.31.0` |
    | [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.30.3` | `0.31.0` |
    | [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.30.3` | `0.31.0` |
    | [k8s.io/code-generator](https://github.com/kubernetes/code-generator) | `0.30.3` | `0.31.0` |
    | [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) | `0.18.4` | `0.19.0` |
    | [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) | `0.15.0` | `0.16.1` |
    | [sigs.k8s.io/kind](https://github.com/kubernetes-sigs/kind) | `0.23.0` | `0.24.0` |
    
    Updates `k8s.io/api` from 0.30.3 to 0.31.0
    - [Commits](kubernetes/api@v0.30.3...v0.31.0)
    
    Updates `k8s.io/apiextensions-apiserver` from 0.30.3 to 0.31.0
    - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
    - [Commits](kubernetes/apiextensions-apiserver@v0.30.3...v0.31.0)
    
    Updates `k8s.io/apimachinery` from 0.30.3 to 0.31.0
    - [Commits](kubernetes/apimachinery@v0.30.3...v0.31.0)
    
    Updates `k8s.io/client-go` from 0.30.3 to 0.31.0
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](kubernetes/client-go@v0.30.3...v0.31.0)
    
    Updates `k8s.io/code-generator` from 0.30.3 to 0.31.0
    - [Commits](kubernetes/code-generator@v0.30.3...v0.31.0)
    
    Updates `sigs.k8s.io/controller-runtime` from 0.18.4 to 0.19.0
    - [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
    - [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
    - [Commits](kubernetes-sigs/controller-runtime@v0.18.4...v0.19.0)
    
    Updates `sigs.k8s.io/controller-tools` from 0.15.0 to 0.16.1
    - [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases)
    - [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml)
    - [Commits](kubernetes-sigs/controller-tools@v0.15.0...v0.16.1)
    
    Updates `sigs.k8s.io/kind` from 0.23.0 to 0.24.0
    - [Release notes](https://github.com/kubernetes-sigs/kind/releases)
    - [Commits](kubernetes-sigs/kind@v0.23.0...v0.24.0)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/api
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/apiextensions-apiserver
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/apimachinery
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/code-generator
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: sigs.k8s.io/controller-runtime
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: sigs.k8s.io/controller-tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: sigs.k8s.io/kind
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    dependabot[bot] authored and logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    4e79d86 View commit details
    Browse the repository at this point in the history
  7. Bump github.com/docker/docker (kudobuilder#551)

    Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.1.1+incompatible to 27.1.2+incompatible.
    - [Release notes](https://github.com/docker/docker/releases)
    - [Commits](moby/moby@v27.1.1...v27.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/docker/docker
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    dependabot[bot] authored and logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    64d46cb View commit details
    Browse the repository at this point in the history
  8. Bump the kubernetes group with 8 updates (kudobuilder#550)

    Bumps the kubernetes group with 8 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [k8s.io/api](https://github.com/kubernetes/api) | `0.30.3` | `0.31.0` |
    | [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | `0.30.3` | `0.31.0` |
    | [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.30.3` | `0.31.0` |
    | [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.30.3` | `0.31.0` |
    | [k8s.io/code-generator](https://github.com/kubernetes/code-generator) | `0.30.3` | `0.31.0` |
    | [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) | `0.18.4` | `0.19.0` |
    | [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools) | `0.15.0` | `0.16.1` |
    | [sigs.k8s.io/kind](https://github.com/kubernetes-sigs/kind) | `0.23.0` | `0.24.0` |
    
    Updates `k8s.io/api` from 0.30.3 to 0.31.0
    - [Commits](kubernetes/api@v0.30.3...v0.31.0)
    
    Updates `k8s.io/apiextensions-apiserver` from 0.30.3 to 0.31.0
    - [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases)
    - [Commits](kubernetes/apiextensions-apiserver@v0.30.3...v0.31.0)
    
    Updates `k8s.io/apimachinery` from 0.30.3 to 0.31.0
    - [Commits](kubernetes/apimachinery@v0.30.3...v0.31.0)
    
    Updates `k8s.io/client-go` from 0.30.3 to 0.31.0
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](kubernetes/client-go@v0.30.3...v0.31.0)
    
    Updates `k8s.io/code-generator` from 0.30.3 to 0.31.0
    - [Commits](kubernetes/code-generator@v0.30.3...v0.31.0)
    
    Updates `sigs.k8s.io/controller-runtime` from 0.18.4 to 0.19.0
    - [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
    - [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
    - [Commits](kubernetes-sigs/controller-runtime@v0.18.4...v0.19.0)
    
    Updates `sigs.k8s.io/controller-tools` from 0.15.0 to 0.16.1
    - [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases)
    - [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml)
    - [Commits](kubernetes-sigs/controller-tools@v0.15.0...v0.16.1)
    
    Updates `sigs.k8s.io/kind` from 0.23.0 to 0.24.0
    - [Release notes](https://github.com/kubernetes-sigs/kind/releases)
    - [Commits](kubernetes-sigs/kind@v0.23.0...v0.24.0)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/api
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/apiextensions-apiserver
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/apimachinery
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: k8s.io/code-generator
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: sigs.k8s.io/controller-runtime
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: sigs.k8s.io/controller-tools
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    - dependency-name: sigs.k8s.io/kind
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: kubernetes
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    dependabot[bot] authored and logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    12b5e93 View commit details
    Browse the repository at this point in the history
  9. feat: add new GetConfig command and inject ImpersonateAs variable

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    f092edd View commit details
    Browse the repository at this point in the history
  10. Update pkg/kuttlctl/cmd/root.go

    Signed-off-by: Author Name <authoremail@example.com>
    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    1448b80 View commit details
    Browse the repository at this point in the history
  11. feat: fmt

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    9b643ce View commit details
    Browse the repository at this point in the history
  12. doc: add docs for user impersonation

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    d57eb56 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a880107 View commit details
    Browse the repository at this point in the history
  14. feat: nit

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2a549b1 View commit details
    Browse the repository at this point in the history
  15. feat: nit

    Signed-off-by: Logan Cox <mail@logan-cox.com>
    logan-bobo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    1645853 View commit details
    Browse the repository at this point in the history