diff --git a/changelog/fragments/fix-ansible-helm-auth-providers.yaml b/changelog/fragments/fix-ansible-helm-auth-providers.yaml new file mode 100644 index 0000000000..215374cad5 --- /dev/null +++ b/changelog/fragments/fix-ansible-helm-auth-providers.yaml @@ -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 diff --git a/cmd/ansible-operator/main.go b/cmd/ansible-operator/main.go index 78db568b61..12f79ce780 100644 --- a/cmd/ansible-operator/main.go +++ b/cmd/ansible-operator/main.go @@ -18,6 +18,7 @@ import ( "log" "github.com/spf13/cobra" + _ "k8s.io/client-go/plugin/pkg/client/auth" "github.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/run" "github.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/version" diff --git a/cmd/helm-operator/main.go b/cmd/helm-operator/main.go index 7332e9564e..c223adcea3 100644 --- a/cmd/helm-operator/main.go +++ b/cmd/helm-operator/main.go @@ -18,6 +18,7 @@ import ( "log" "github.com/spf13/cobra" + _ "k8s.io/client-go/plugin/pkg/client/auth" "github.com/operator-framework/operator-sdk/internal/cmd/helm-operator/run" "github.com/operator-framework/operator-sdk/internal/cmd/helm-operator/version"