Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions changelog/fragments/fix-ansible-helm-auth-providers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
entries:
- description: >
Added kubernetes authentication clients to `ansible-operator` and
`helm-operator` to enable authentication to gcp, azure, etc. kubernetes
clusters.

kind: bugfix
breaking: false
4 changes: 4 additions & 0 deletions cmd/ansible-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ package main
import (
"log"

// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
// to ensure that `exec-entrypoint` and `run` can make use of them.
_ "k8s.io/client-go/plugin/pkg/client/auth"

"github.com/spf13/cobra"

"github.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/run"
Expand Down
4 changes: 4 additions & 0 deletions cmd/helm-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ package main
import (
"log"

// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
// to ensure that `exec-entrypoint` and `run` can make use of them.
_ "k8s.io/client-go/plugin/pkg/client/auth"

"github.com/spf13/cobra"

"github.com/operator-framework/operator-sdk/internal/cmd/helm-operator/run"
Expand Down