From db8aeba6dfe2c90bba9a2862dfbffec13fa13a8b Mon Sep 17 00:00:00 2001 From: Alexander Matyushentsev Date: Wed, 12 Sep 2018 17:37:10 -0700 Subject: [PATCH] Issue #482 - Support IAM Authentication for managing external K8s clusters --- Dockerfile | 5 + cmd/argocd/commands/cluster.go | 34 +- pkg/apis/application/v1alpha1/generated.pb.go | 709 ++++++++++++------ pkg/apis/application/v1alpha1/generated.proto | 12 + pkg/apis/application/v1alpha1/types.go | 53 +- .../v1alpha1/zz_generated.deepcopy.go | 25 + server/swagger.json | 17 + test/e2e/fixture.go | 2 +- util/kube/kube.go | 3 + 9 files changed, 590 insertions(+), 270 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9323fd987b4e..5c7bd50f21282 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,6 +65,10 @@ ENV KUSTOMIZE_VERSION=1.0.7 RUN curl -L -o /usr/local/bin/kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64 && \ chmod +x /usr/local/bin/kustomize +ENV AWS_IAM_AUTHENTICATOR_VERSION=0.3.0 +RUN curl -L -o /usr/local/bin/aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.3.0/heptio-authenticator-aws_${AWS_IAM_AUTHENTICATOR_VERSION}_linux_amd64 && \ + chmod +x /usr/local/bin/aws-iam-authenticator + #################################################################################################### # ArgoCD Build stage which performs the actual build of ArgoCD binaries @@ -109,6 +113,7 @@ COPY --from=builder /usr/local/bin/ks /usr/local/bin/ks COPY --from=builder /usr/local/bin/helm /usr/local/bin/helm COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl COPY --from=builder /usr/local/bin/kustomize /usr/local/bin/kustomize +COPY --from=builder /usr/local/bin/aws-iam-authenticator /usr/local/bin/aws-iam-authenticator # workaround ksonnet issue https://github.com/ksonnet/ksonnet/issues/298 ENV USER=argocd diff --git a/cmd/argocd/commands/cluster.go b/cmd/argocd/commands/cluster.go index 44e29149e5ae3..2bc92fa30b83d 100644 --- a/cmd/argocd/commands/cluster.go +++ b/cmd/argocd/commands/cluster.go @@ -44,8 +44,10 @@ func NewClusterCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clientc // NewClusterAddCommand returns a new instance of an `argocd cluster add` command func NewClusterAddCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clientcmd.PathOptions) *cobra.Command { var ( - inCluster bool - upsert bool + inCluster bool + upsert bool + awsRoleArn string + awsClusterName string ) var command = &cobra.Command{ Use: "add", @@ -63,6 +65,7 @@ func NewClusterAddCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clie if clstContext == nil { log.Fatalf("Context %s does not exist in kubeconfig", args[0]) } + overrides := clientcmd.ConfigOverrides{ Context: *clstContext, } @@ -70,15 +73,23 @@ func NewClusterAddCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clie conf, err := clientConfig.ClientConfig() errors.CheckError(err) - // Install RBAC resources for managing the cluster - clientset, err := kubernetes.NewForConfig(conf) - errors.CheckError(err) - managerBearerToken, err := common.InstallClusterManagerRBAC(clientset) - errors.CheckError(err) - + managerBearerToken := "" + var awsAuthConf *argoappv1.AWSAuthConfig + if awsClusterName != "" { + awsAuthConf = &argoappv1.AWSAuthConfig{ + ClusterName: awsClusterName, + RoleARN: awsRoleArn, + } + } else { + // Install RBAC resources for managing the cluster + clientset, err := kubernetes.NewForConfig(conf) + errors.CheckError(err) + managerBearerToken, err = common.InstallClusterManagerRBAC(clientset) + errors.CheckError(err) + } conn, clusterIf := argocdclient.NewClientOrDie(clientOpts).NewClusterClientOrDie() defer util.Close(conn) - clst := NewCluster(args[0], conf, managerBearerToken) + clst := NewCluster(args[0], conf, managerBearerToken, awsAuthConf) if inCluster { clst.Server = common.KubernetesInternalAPIServerAddr } @@ -94,6 +105,8 @@ func NewClusterAddCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clie command.PersistentFlags().StringVar(&pathOpts.LoadingRules.ExplicitPath, pathOpts.ExplicitFileFlag, pathOpts.LoadingRules.ExplicitPath, "use a particular kubeconfig file") command.Flags().BoolVar(&inCluster, "in-cluster", false, "Indicates ArgoCD resides inside this cluster and should connect using the internal k8s hostname (kubernetes.default.svc)") command.Flags().BoolVar(&upsert, "upsert", false, "Override an existing cluster with the same name even if the spec differs") + command.Flags().StringVar(&awsClusterName, "aws-cluster-name", "", "AWS Cluster name if set then aws-iam-authenticator will be used to access cluster") + command.Flags().StringVar(&awsRoleArn, "aws-role-arn", "", "Optional AWS role arn. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain.") return command } @@ -136,7 +149,7 @@ func printKubeContexts(ca clientcmd.ConfigAccess) { } } -func NewCluster(name string, conf *rest.Config, managerBearerToken string) *argoappv1.Cluster { +func NewCluster(name string, conf *rest.Config, managerBearerToken string, awsAuthConf *argoappv1.AWSAuthConfig) *argoappv1.Cluster { tlsClientConfig := argoappv1.TLSClientConfig{ Insecure: conf.TLSClientConfig.Insecure, ServerName: conf.TLSClientConfig.ServerName, @@ -165,6 +178,7 @@ func NewCluster(name string, conf *rest.Config, managerBearerToken string) *argo Config: argoappv1.ClusterConfig{ BearerToken: managerBearerToken, TLSClientConfig: tlsClientConfig, + AWSAuthConfig: awsAuthConf, }, } return &clst diff --git a/pkg/apis/application/v1alpha1/generated.pb.go b/pkg/apis/application/v1alpha1/generated.pb.go index c09cfb8e939fb..7d5342edc24e9 100644 --- a/pkg/apis/application/v1alpha1/generated.pb.go +++ b/pkg/apis/application/v1alpha1/generated.pb.go @@ -8,6 +8,7 @@ github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto It has these top-level messages: + AWSAuthConfig AppProject AppProjectList AppProjectSpec @@ -73,159 +74,164 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package +func (m *AWSAuthConfig) Reset() { *m = AWSAuthConfig{} } +func (*AWSAuthConfig) ProtoMessage() {} +func (*AWSAuthConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } + func (m *AppProject) Reset() { *m = AppProject{} } func (*AppProject) ProtoMessage() {} -func (*AppProject) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } +func (*AppProject) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } func (m *AppProjectList) Reset() { *m = AppProjectList{} } func (*AppProjectList) ProtoMessage() {} -func (*AppProjectList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } +func (*AppProjectList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } func (m *AppProjectSpec) Reset() { *m = AppProjectSpec{} } func (*AppProjectSpec) ProtoMessage() {} -func (*AppProjectSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } +func (*AppProjectSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } func (m *Application) Reset() { *m = Application{} } func (*Application) ProtoMessage() {} -func (*Application) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } +func (*Application) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } func (m *ApplicationCondition) Reset() { *m = ApplicationCondition{} } func (*ApplicationCondition) ProtoMessage() {} -func (*ApplicationCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } +func (*ApplicationCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } func (m *ApplicationDestination) Reset() { *m = ApplicationDestination{} } func (*ApplicationDestination) ProtoMessage() {} -func (*ApplicationDestination) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } +func (*ApplicationDestination) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } func (m *ApplicationList) Reset() { *m = ApplicationList{} } func (*ApplicationList) ProtoMessage() {} -func (*ApplicationList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } +func (*ApplicationList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } func (m *ApplicationSource) Reset() { *m = ApplicationSource{} } func (*ApplicationSource) ProtoMessage() {} -func (*ApplicationSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } +func (*ApplicationSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } func (m *ApplicationSpec) Reset() { *m = ApplicationSpec{} } func (*ApplicationSpec) ProtoMessage() {} -func (*ApplicationSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } +func (*ApplicationSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } func (m *ApplicationStatus) Reset() { *m = ApplicationStatus{} } func (*ApplicationStatus) ProtoMessage() {} -func (*ApplicationStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } +func (*ApplicationStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } func (m *ApplicationWatchEvent) Reset() { *m = ApplicationWatchEvent{} } func (*ApplicationWatchEvent) ProtoMessage() {} -func (*ApplicationWatchEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } +func (*ApplicationWatchEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } func (m *Cluster) Reset() { *m = Cluster{} } func (*Cluster) ProtoMessage() {} -func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } +func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } func (*ClusterConfig) ProtoMessage() {} -func (*ClusterConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } +func (*ClusterConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } func (m *ClusterList) Reset() { *m = ClusterList{} } func (*ClusterList) ProtoMessage() {} -func (*ClusterList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } +func (*ClusterList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } func (m *ComparisonResult) Reset() { *m = ComparisonResult{} } func (*ComparisonResult) ProtoMessage() {} -func (*ComparisonResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } +func (*ComparisonResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } func (m *ComponentParameter) Reset() { *m = ComponentParameter{} } func (*ComponentParameter) ProtoMessage() {} -func (*ComponentParameter) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } +func (*ComponentParameter) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } func (m *ConnectionState) Reset() { *m = ConnectionState{} } func (*ConnectionState) ProtoMessage() {} -func (*ConnectionState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } +func (*ConnectionState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } func (m *DeploymentInfo) Reset() { *m = DeploymentInfo{} } func (*DeploymentInfo) ProtoMessage() {} -func (*DeploymentInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } +func (*DeploymentInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } func (m *HealthStatus) Reset() { *m = HealthStatus{} } func (*HealthStatus) ProtoMessage() {} -func (*HealthStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } +func (*HealthStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } func (m *HookStatus) Reset() { *m = HookStatus{} } func (*HookStatus) ProtoMessage() {} -func (*HookStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } +func (*HookStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } func (m *JWTToken) Reset() { *m = JWTToken{} } func (*JWTToken) ProtoMessage() {} -func (*JWTToken) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } +func (*JWTToken) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } func (m *Operation) Reset() { *m = Operation{} } func (*Operation) ProtoMessage() {} -func (*Operation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } +func (*Operation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } func (m *OperationState) Reset() { *m = OperationState{} } func (*OperationState) ProtoMessage() {} -func (*OperationState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } +func (*OperationState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } func (m *ProjectRole) Reset() { *m = ProjectRole{} } func (*ProjectRole) ProtoMessage() {} -func (*ProjectRole) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } +func (*ProjectRole) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } func (m *Repository) Reset() { *m = Repository{} } func (*Repository) ProtoMessage() {} -func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } +func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } func (m *RepositoryList) Reset() { *m = RepositoryList{} } func (*RepositoryList) ProtoMessage() {} -func (*RepositoryList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } +func (*RepositoryList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } func (m *ResourceDetails) Reset() { *m = ResourceDetails{} } func (*ResourceDetails) ProtoMessage() {} -func (*ResourceDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } +func (*ResourceDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } func (m *ResourceNode) Reset() { *m = ResourceNode{} } func (*ResourceNode) ProtoMessage() {} -func (*ResourceNode) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } +func (*ResourceNode) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } func (m *ResourceState) Reset() { *m = ResourceState{} } func (*ResourceState) ProtoMessage() {} -func (*ResourceState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } +func (*ResourceState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } func (m *RollbackOperation) Reset() { *m = RollbackOperation{} } func (*RollbackOperation) ProtoMessage() {} -func (*RollbackOperation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } +func (*RollbackOperation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } func (m *SyncOperation) Reset() { *m = SyncOperation{} } func (*SyncOperation) ProtoMessage() {} -func (*SyncOperation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } +func (*SyncOperation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } func (m *SyncOperationResult) Reset() { *m = SyncOperationResult{} } func (*SyncOperationResult) ProtoMessage() {} -func (*SyncOperationResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } +func (*SyncOperationResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } func (m *SyncPolicy) Reset() { *m = SyncPolicy{} } func (*SyncPolicy) ProtoMessage() {} -func (*SyncPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } +func (*SyncPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } func (m *SyncPolicyAutomated) Reset() { *m = SyncPolicyAutomated{} } func (*SyncPolicyAutomated) ProtoMessage() {} -func (*SyncPolicyAutomated) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } +func (*SyncPolicyAutomated) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } func (m *SyncStrategy) Reset() { *m = SyncStrategy{} } func (*SyncStrategy) ProtoMessage() {} -func (*SyncStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } +func (*SyncStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } func (m *SyncStrategyApply) Reset() { *m = SyncStrategyApply{} } func (*SyncStrategyApply) ProtoMessage() {} -func (*SyncStrategyApply) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } +func (*SyncStrategyApply) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } func (m *SyncStrategyHook) Reset() { *m = SyncStrategyHook{} } func (*SyncStrategyHook) ProtoMessage() {} -func (*SyncStrategyHook) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } +func (*SyncStrategyHook) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } func (m *TLSClientConfig) Reset() { *m = TLSClientConfig{} } func (*TLSClientConfig) ProtoMessage() {} -func (*TLSClientConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } +func (*TLSClientConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } func init() { + proto.RegisterType((*AWSAuthConfig)(nil), "github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.AWSAuthConfig") proto.RegisterType((*AppProject)(nil), "github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.AppProject") proto.RegisterType((*AppProjectList)(nil), "github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.AppProjectList") proto.RegisterType((*AppProjectSpec)(nil), "github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.AppProjectSpec") @@ -265,6 +271,32 @@ func init() { proto.RegisterType((*SyncStrategyHook)(nil), "github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.SyncStrategyHook") proto.RegisterType((*TLSClientConfig)(nil), "github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.TLSClientConfig") } +func (m *AWSAuthConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AWSAuthConfig) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterName))) + i += copy(dAtA[i:], m.ClusterName) + dAtA[i] = 0x12 + i++ + i = encodeVarintGenerated(dAtA, i, uint64(len(m.RoleARN))) + i += copy(dAtA[i:], m.RoleARN) + return i, nil +} + func (m *AppProject) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -860,6 +892,16 @@ func (m *ClusterConfig) MarshalTo(dAtA []byte) (int, error) { return 0, err } i += n18 + if m.AWSAuthConfig != nil { + dAtA[i] = 0x2a + i++ + i = encodeVarintGenerated(dAtA, i, uint64(m.AWSAuthConfig.Size())) + n19, err := m.AWSAuthConfig.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n19 + } return i, nil } @@ -881,11 +923,11 @@ func (m *ClusterList) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) - n19, err := m.ListMeta.MarshalTo(dAtA[i:]) + n20, err := m.ListMeta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n19 + i += n20 if len(m.Items) > 0 { for _, msg := range m.Items { dAtA[i] = 0x12 @@ -919,19 +961,19 @@ func (m *ComparisonResult) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.ComparedAt.Size())) - n20, err := m.ComparedAt.MarshalTo(dAtA[i:]) + n21, err := m.ComparedAt.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n20 + i += n21 dAtA[i] = 0x12 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.ComparedTo.Size())) - n21, err := m.ComparedTo.MarshalTo(dAtA[i:]) + n22, err := m.ComparedTo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n21 + i += n22 dAtA[i] = 0x2a i++ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) @@ -1012,11 +1054,11 @@ func (m *ConnectionState) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintGenerated(dAtA, i, uint64(m.ModifiedAt.Size())) - n22, err := m.ModifiedAt.MarshalTo(dAtA[i:]) + n23, err := m.ModifiedAt.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n22 + i += n23 } return i, nil } @@ -1067,11 +1109,11 @@ func (m *DeploymentInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.DeployedAt.Size())) - n23, err := m.DeployedAt.MarshalTo(dAtA[i:]) + n24, err := m.DeployedAt.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n23 + i += n24 dAtA[i] = 0x28 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.ID)) @@ -1189,21 +1231,21 @@ func (m *Operation) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Sync.Size())) - n24, err := m.Sync.MarshalTo(dAtA[i:]) + n25, err := m.Sync.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n24 + i += n25 } if m.Rollback != nil { dAtA[i] = 0x12 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Rollback.Size())) - n25, err := m.Rollback.MarshalTo(dAtA[i:]) + n26, err := m.Rollback.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n25 + i += n26 } return i, nil } @@ -1226,11 +1268,11 @@ func (m *OperationState) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Operation.Size())) - n26, err := m.Operation.MarshalTo(dAtA[i:]) + n27, err := m.Operation.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n26 + i += n27 dAtA[i] = 0x12 i++ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Phase))) @@ -1243,39 +1285,39 @@ func (m *OperationState) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.SyncResult.Size())) - n27, err := m.SyncResult.MarshalTo(dAtA[i:]) + n28, err := m.SyncResult.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n27 + i += n28 } if m.RollbackResult != nil { dAtA[i] = 0x2a i++ i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackResult.Size())) - n28, err := m.RollbackResult.MarshalTo(dAtA[i:]) + n29, err := m.RollbackResult.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n28 + i += n29 } dAtA[i] = 0x32 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.StartedAt.Size())) - n29, err := m.StartedAt.MarshalTo(dAtA[i:]) + n30, err := m.StartedAt.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n29 + i += n30 if m.FinishedAt != nil { dAtA[i] = 0x3a i++ i = encodeVarintGenerated(dAtA, i, uint64(m.FinishedAt.Size())) - n30, err := m.FinishedAt.MarshalTo(dAtA[i:]) + n31, err := m.FinishedAt.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n30 + i += n31 } return i, nil } @@ -1367,11 +1409,11 @@ func (m *Repository) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintGenerated(dAtA, i, uint64(m.ConnectionState.Size())) - n31, err := m.ConnectionState.MarshalTo(dAtA[i:]) + n32, err := m.ConnectionState.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n31 + i += n32 return i, nil } @@ -1393,11 +1435,11 @@ func (m *RepositoryList) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) - n32, err := m.ListMeta.MarshalTo(dAtA[i:]) + n33, err := m.ListMeta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n32 + i += n33 if len(m.Items) > 0 { for _, msg := range m.Items { dAtA[i] = 0x12 @@ -1527,11 +1569,11 @@ func (m *ResourceState) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Health.Size())) - n33, err := m.Health.MarshalTo(dAtA[i:]) + n34, err := m.Health.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n33 + i += n34 return i, nil } @@ -1611,11 +1653,11 @@ func (m *SyncOperation) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.SyncStrategy.Size())) - n34, err := m.SyncStrategy.MarshalTo(dAtA[i:]) + n35, err := m.SyncStrategy.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n34 + i += n35 } return i, nil } @@ -1685,11 +1727,11 @@ func (m *SyncPolicy) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Automated.Size())) - n35, err := m.Automated.MarshalTo(dAtA[i:]) + n36, err := m.Automated.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n35 + i += n36 } return i, nil } @@ -1739,21 +1781,21 @@ func (m *SyncStrategy) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Apply.Size())) - n36, err := m.Apply.MarshalTo(dAtA[i:]) + n37, err := m.Apply.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n36 + i += n37 } if m.Hook != nil { dAtA[i] = 0x12 i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Hook.Size())) - n37, err := m.Hook.MarshalTo(dAtA[i:]) + n38, err := m.Hook.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n37 + i += n38 } return i, nil } @@ -1802,11 +1844,11 @@ func (m *SyncStrategyHook) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(m.SyncStrategyApply.Size())) - n38, err := m.SyncStrategyApply.MarshalTo(dAtA[i:]) + n39, err := m.SyncStrategyApply.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n38 + i += n39 return i, nil } @@ -1867,6 +1909,16 @@ func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } +func (m *AWSAuthConfig) Size() (n int) { + var l int + _ = l + l = len(m.ClusterName) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.RoleARN) + n += 1 + l + sovGenerated(uint64(l)) + return n +} + func (m *AppProject) Size() (n int) { var l int _ = l @@ -2088,6 +2140,10 @@ func (m *ClusterConfig) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.TLSClientConfig.Size() n += 1 + l + sovGenerated(uint64(l)) + if m.AWSAuthConfig != nil { + l = m.AWSAuthConfig.Size() + n += 1 + l + sovGenerated(uint64(l)) + } return n } @@ -2475,6 +2531,17 @@ func sovGenerated(x uint64) (n int) { func sozGenerated(x uint64) (n int) { return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } +func (this *AWSAuthConfig) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&AWSAuthConfig{`, + `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`, + `RoleARN:` + fmt.Sprintf("%v", this.RoleARN) + `,`, + `}`, + }, "") + return s +} func (this *AppProject) String() string { if this == nil { return "nil" @@ -2634,6 +2701,7 @@ func (this *ClusterConfig) String() string { `Password:` + fmt.Sprintf("%v", this.Password) + `,`, `BearerToken:` + fmt.Sprintf("%v", this.BearerToken) + `,`, `TLSClientConfig:` + strings.Replace(strings.Replace(this.TLSClientConfig.String(), "TLSClientConfig", "TLSClientConfig", 1), `&`, ``, 1) + `,`, + `AWSAuthConfig:` + strings.Replace(fmt.Sprintf("%v", this.AWSAuthConfig), "AWSAuthConfig", "AWSAuthConfig", 1) + `,`, `}`, }, "") return s @@ -2952,6 +3020,114 @@ func valueToStringGenerated(v interface{}) string { pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("*%v", pv) } +func (m *AWSAuthConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AWSAuthConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AWSAuthConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RoleARN", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RoleARN = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *AppProject) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4962,6 +5138,39 @@ func (m *ClusterConfig) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AWSAuthConfig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AWSAuthConfig == nil { + m.AWSAuthConfig = &AWSAuthConfig{} + } + if err := m.AWSAuthConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) @@ -8665,175 +8874,179 @@ func init() { } var fileDescriptorGenerated = []byte{ - // 2718 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4d, 0x6c, 0x24, 0x47, - 0xf5, 0xdf, 0x9e, 0x2f, 0xcf, 0xbc, 0xb1, 0xbd, 0xbb, 0x95, 0x8f, 0xff, 0xfc, 0x1d, 0xc9, 0xb6, - 0x3a, 0x7c, 0x2c, 0x28, 0x99, 0x61, 0x17, 0x02, 0x21, 0x20, 0x24, 0x8f, 0xbd, 0x1b, 0x3b, 0xde, - 0x0f, 0x53, 0xe3, 0x24, 0x52, 0x88, 0x02, 0xbd, 0x3d, 0xe5, 0x99, 0xde, 0x99, 0xe9, 0xee, 0x74, - 0xd5, 0xcc, 0x66, 0x04, 0x41, 0x41, 0x08, 0x44, 0xf8, 0x90, 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e3, 0xd2, 0x0d, 0x7d, 0x13, 0x2a, - 0xce, 0x90, 0x05, 0x03, 0x87, 0x91, 0xb6, 0x2a, 0x73, 0xd7, 0xe7, 0x72, 0xbd, 0xb7, 0x11, 0x6b, - 0x95, 0x1e, 0x4a, 0x5e, 0xb1, 0xc6, 0xb3, 0x9f, 0x92, 0x2b, 0x96, 0xf9, 0x40, 0x47, 0xa5, 0x35, - 0x3d, 0x2a, 0xed, 0x0f, 0x2c, 0x48, 0x45, 0x03, 0x1a, 0x40, 0x91, 0x9b, 0x34, 0x9e, 0xc3, 0xa5, - 0xae, 0xa9, 0x77, 0x83, 0xeb, 0x94, 0x7e, 0x14, 0x8f, 0x58, 0xa2, 0x20, 0x0f, 0x0a, 0xdc, 0xa1, - 0x6a, 0x74, 0xdb, 0x9d, 0x13, 0x1a, 0x5f, 0x2a, 0x39, 0x29, 0xf2, 0x27, 0x2c, 0x20, 0xec, 0x27, - 0xe1, 0xfc, 0x84, 0x45, 0xdc, 0x49, 0x07, 0x41, 0x7c, 0x87, 0x6d, 0x38, 0xe9, 0x0a, 0x27, 0x62, + // 2782 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x4d, 0x8c, 0x23, 0x47, + 0xf5, 0xdf, 0xf6, 0xc7, 0x8c, 0xfd, 0x3c, 0x33, 0xbb, 0x5b, 0xf9, 0xf8, 0xfb, 0x3f, 0x91, 0x66, + 0x46, 0x1d, 0x3e, 0x02, 0x4a, 0x6c, 0x76, 0x21, 0x10, 0x02, 0x42, 0x1a, 0x7b, 0x76, 0xb3, 0x93, + 0xd9, 0x9d, 0x1d, 0xca, 0x93, 0xac, 0x14, 0xa2, 0x40, 0x6f, 0xbb, 0xc6, 0xee, 0xb5, 0xdd, 0xdd, + 0xe9, 0x2a, 0x7b, 0x63, 0x41, 0x50, 0x10, 0x02, 0x11, 0x3e, 0x24, 0x50, 0x84, 0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0x15, 0x2b, 0x2e, 0xaa, 0x43, 0x39, 0x89, 0x46, 0x05, 0x77, 0x5e, 0x89, 0x96, 0x75, + 0x08, 0x6b, 0x19, 0xfb, 0xef, 0x16, 0x9c, 0x35, 0x30, 0xef, 0x43, 0x71, 0xe8, 0xa5, 0x8b, 0xc3, + 0xe5, 0xf9, 0x44, 0xcc, 0x94, 0xea, 0xf0, 0x87, 0x3c, 0x9c, 0x37, 0xe3, 0x4a, 0x6c, 0x4f, 0xd1, + 0x19, 0x90, 0x30, 0x78, 0x0e, 0x5f, 0x55, 0xee, 0xd4, 0x9d, 0x81, 0x24, 0xe3, 0x98, 0xcf, 0xd7, + 0x37, 0x74, 0x58, 0x57, 0xf9, 0x32, 0x59, 0xdf, 0x3d, 0x87, 0x75, 0xb1, 0xe0, 0xf0, 0x64, 0x4d, + 0xfc, 0x91, 0x17, 0x05, 0xfe, 0x80, 0xf8, 0x2c, 0x9b, 0xac, 0x2f, 0x69, 0x16, 0x36, 0xe5, 0xd0, + 0x57, 0x60, 0x85, 0x39, 0x51, 0x87, 0x30, 0x4c, 0x46, 0x1e, 0x8d, 0x03, 0xb9, 0xdc, 0x78, 0x58, + 0xbd, 0xb9, 0xb2, 0x9f, 0xe2, 0xe2, 0x8c, 0x34, 0x7a, 0xd3, 0x82, 0x47, 0xdc, 0x60, 0x10, 0x06, + 0x3e, 0xf1, 0xd9, 0x9e, 0x13, 0x39, 0x03, 0xc2, 0x48, 0x74, 0x7d, 0x44, 0xa2, 0xc8, 0x6b, 0x13, + 0xaa, 0x52, 0xf0, 0xb5, 0x19, 0xbc, 0xdb, 0x9c, 0xd0, 0xde, 0x78, 0x54, 0x19, 0xf7, 0x48, 0x73, + 0x3a, 0x32, 0xfe, 0x28, 0xb3, 0x78, 0x6d, 0x1e, 0x39, 0xfd, 0x21, 0xa1, 0x97, 0x3d, 0x5e, 0xa9, + 0x16, 0x74, 0x6d, 0x7e, 0x5e, 0x93, 0xb1, 0x29, 0x63, 0xbf, 0x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 0x1d, 0xa2, 0x03, 0x28, 0xf0, 0x61, + 0x58, 0x95, 0xbc, 0x2b, 0x33, 0xce, 0xdb, 0xfa, 0x88, 0xb2, 0x24, 0x4e, 0x60, 0xc7, 0xbe, 0x8b, + 0x85, 0x7e, 0x34, 0x82, 0x52, 0x14, 0xf4, 0xfb, 0x37, 0x1d, 0xb7, 0x37, 0x87, 0xea, 0x87, 0x95, + 0x2a, 0x8d, 0xb7, 0x24, 0x92, 0x80, 0x22, 0xe3, 0x04, 0xcb, 0xfe, 0x6d, 0x11, 0x32, 0x43, 0x16, + 0x1a, 0x9a, 0xc7, 0xb2, 0xd6, 0x1c, 0x8f, 0x65, 0x13, 0x8f, 0x1f, 0x77, 0x34, 0x8b, 0x9e, 0x84, + 0x62, 0xc8, 0x03, 0x41, 0x85, 0xed, 0x7a, 0x5c, 0x30, 0x44, 0x74, 0x1c, 0x13, 0x2f, 0x52, 0xda, + 0x0c, 0x97, 0xfc, 0x09, 0x65, 0xe0, 0xdb, 0xf2, 0x04, 0x45, 0x9d, 0x56, 0xc8, 0xcc, 0xb1, 0x3b, + 0xaf, 0x15, 0x55, 0x07, 0x16, 0xc9, 0x51, 0x8a, 0x3a, 0xa6, 0x30, 0x10, 0xd1, 0x0f, 0x2d, 0x58, + 0x89, 0x1d, 0xaf, 0x8c, 0x28, 0xde, 0x13, 0x23, 0xc4, 0xe8, 0x8c, 0x53, 0x48, 0x38, 0x83, 0x8c, + 0xbe, 0x06, 0x65, 0xca, 0x9c, 0x48, 0x56, 0xc4, 0x85, 0x3b, 0xce, 0xa2, 0xc9, 0x5a, 0xb6, 0x62, + 0x25, 0x58, 0xeb, 0x43, 0x2f, 0x00, 0x1c, 0x78, 0xbe, 0x47, 0xbb, 0x42, 0xfb, 0xe2, 0xdd, 0xd5, + 0xdb, 0xcb, 0x89, 0x06, 0x6c, 0x68, 0xb3, 0xbf, 0x9f, 0x83, 0x8a, 0x71, 0xaf, 0x75, 0x8a, 0x7c, + 0x98, 0xb9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24, 0xd0, 0x45, + 0x00, 0x79, 0x0d, 0xb5, 0xab, 0x1b, 0xde, 0xe4, 0x90, 0xa3, 0x95, 0x70, 0xb0, 0x21, 0xc5, 0x7b, + 0x7e, 0x97, 0x44, 0x6c, 0x8b, 0xb7, 0x79, 0x3c, 0xbf, 0x2d, 0xc9, 0x9e, 0xbf, 0xa9, 0x68, 0x38, + 0xe1, 0xa2, 0x8f, 0xc3, 0x62, 0x8f, 0x8c, 0x85, 0x60, 0x41, 0x08, 0x56, 0x78, 0xe7, 0xb2, 0x23, + 0x49, 0x38, 0xe6, 0x21, 0x1b, 0x16, 0x5c, 0x47, 0x48, 0x15, 0x85, 0x14, 0x88, 0x1b, 0xa9, 0x4d, + 0x21, 0xa4, 0x38, 0x8d, 0xda, 0x5b, 0xef, 0xad, 0x9d, 0x79, 0xfb, 0xbd, 0xb5, 0x33, 0xef, 0xbc, + 0xb7, 0x76, 0xe6, 0xb5, 0xa3, 0x35, 0xeb, 0xad, 0xa3, 0x35, 0xeb, 0xed, 0xa3, 0x35, 0xeb, 0x9d, + 0xa3, 0x35, 0xeb, 0x1f, 0x47, 0x6b, 0xd6, 0x4f, 0xdf, 0x5f, 0x3b, 0xf3, 0x42, 0x29, 0x76, 0xed, + 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x01, 0x37, 0x60, 0x86, 0xe3, 0x2c, 0x00, 0x00, } diff --git a/pkg/apis/application/v1alpha1/generated.proto b/pkg/apis/application/v1alpha1/generated.proto index 9305826e62597..217b48040b1c3 100644 --- a/pkg/apis/application/v1alpha1/generated.proto +++ b/pkg/apis/application/v1alpha1/generated.proto @@ -13,6 +13,15 @@ import "k8s.io/apimachinery/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". option go_package = "v1alpha1"; +// AWSAuthConfig is an AWS IAM authentication configuration +message AWSAuthConfig { + // ClusterName contains AWS cluster name + optional string clusterName = 1; + + // RoleARN contains optional role ARN. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain. + optional string roleARN = 2; +} + // AppProject is a definition of AppProject resource. // +genclient // +genclient:noStatus @@ -185,6 +194,9 @@ message ClusterConfig { // TLSClientConfig contains settings to enable transport layer security optional TLSClientConfig tlsClientConfig = 4; + + // AWSAuthConfig contains IAM authentication configuration + optional AWSAuthConfig awsAuthConfig = 5; } // ClusterList is a collection of Clusters. diff --git a/pkg/apis/application/v1alpha1/types.go b/pkg/apis/application/v1alpha1/types.go index 0c8290d10025d..9b58bce9841c6 100644 --- a/pkg/apis/application/v1alpha1/types.go +++ b/pkg/apis/application/v1alpha1/types.go @@ -5,6 +5,8 @@ import ( "reflect" "strings" + "k8s.io/client-go/tools/clientcmd/api" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/watch" @@ -394,6 +396,15 @@ type ClusterList struct { Items []Cluster `json:"items" protobuf:"bytes,2,rep,name=items"` } +// AWSAuthConfig is an AWS IAM authentication configuration +type AWSAuthConfig struct { + // ClusterName contains AWS cluster name + ClusterName string `json:"clusterName,omitempty" protobuf:"bytes,1,opt,name=clusterName"` + + // RoleARN contains optional role ARN. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain. + RoleARN string `json:"roleARN,omitempty" protobuf:"bytes,2,opt,name=roleARN"` +} + // ClusterConfig is the configuration attributes. This structure is subset of the go-client // rest.Config with annotations added for marshalling. type ClusterConfig struct { @@ -408,6 +419,9 @@ type ClusterConfig struct { // TLSClientConfig contains settings to enable transport layer security TLSClientConfig `json:"tlsClientConfig" protobuf:"bytes,4,opt,name=tlsClientConfig"` + + // AWSAuthConfig contains IAM authentication configuration + AWSAuthConfig *AWSAuthConfig `json:"awsAuthConfig" protobuf:"bytes,5,opt,name=awsAuthConfig"` } // TLSClientConfig contains settings to enable transport layer security @@ -624,18 +638,35 @@ func (c *Cluster) RESTConfig() *rest.Config { } return config } + tlsClientConfig := rest.TLSClientConfig{ + Insecure: c.Config.TLSClientConfig.Insecure, + ServerName: c.Config.TLSClientConfig.ServerName, + CertData: c.Config.TLSClientConfig.CertData, + KeyData: c.Config.TLSClientConfig.KeyData, + CAData: c.Config.TLSClientConfig.CAData, + } + if c.Config.AWSAuthConfig != nil { + args := []string{"token", "-i", c.Config.AWSAuthConfig.ClusterName} + if c.Config.AWSAuthConfig.RoleARN != "" { + args = append(args, "-r", c.Config.AWSAuthConfig.RoleARN) + } + return &rest.Config{ + Host: c.Server, + TLSClientConfig: tlsClientConfig, + ExecProvider: &api.ExecConfig{ + APIVersion: "client.authentication.k8s.io/v1alpha1", + Command: "aws-iam-authenticator", + Args: args, + }, + } + } + return &rest.Config{ - Host: c.Server, - Username: c.Config.Username, - Password: c.Config.Password, - BearerToken: c.Config.BearerToken, - TLSClientConfig: rest.TLSClientConfig{ - Insecure: c.Config.TLSClientConfig.Insecure, - ServerName: c.Config.TLSClientConfig.ServerName, - CertData: c.Config.TLSClientConfig.CertData, - KeyData: c.Config.TLSClientConfig.KeyData, - CAData: c.Config.TLSClientConfig.CAData, - }, + Host: c.Server, + Username: c.Config.Username, + Password: c.Config.Password, + BearerToken: c.Config.BearerToken, + TLSClientConfig: tlsClientConfig, } } diff --git a/pkg/apis/application/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/application/v1alpha1/zz_generated.deepcopy.go index 8c3d0a760d309..8810bf93f60e3 100644 --- a/pkg/apis/application/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/application/v1alpha1/zz_generated.deepcopy.go @@ -9,6 +9,22 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AWSAuthConfig) DeepCopyInto(out *AWSAuthConfig) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAuthConfig. +func (in *AWSAuthConfig) DeepCopy() *AWSAuthConfig { + if in == nil { + return nil + } + out := new(AWSAuthConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AppProject) DeepCopyInto(out *AppProject) { *out = *in @@ -350,6 +366,15 @@ func (in *Cluster) DeepCopy() *Cluster { func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig) { *out = *in in.TLSClientConfig.DeepCopyInto(&out.TLSClientConfig) + if in.AWSAuthConfig != nil { + in, out := &in.AWSAuthConfig, &out.AWSAuthConfig + if *in == nil { + *out = nil + } else { + *out = new(AWSAuthConfig) + **out = **in + } + } return } diff --git a/server/swagger.json b/server/swagger.json index ce028d9df7c28..7a30b9e0eb008 100644 --- a/server/swagger.json +++ b/server/swagger.json @@ -1950,6 +1950,20 @@ } } }, + "v1alpha1AWSAuthConfig": { + "type": "object", + "title": "AWSAuthConfig is an AWS IAM authentication configuration", + "properties": { + "clusterName": { + "type": "string", + "title": "ClusterName contains AWS cluster name" + }, + "roleARN": { + "description": "RoleARN contains optional role ARN. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain.", + "type": "string" + } + } + }, "v1alpha1AppProject": { "type": "object", "title": "AppProject is a definition of AppProject resource.\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", @@ -2206,6 +2220,9 @@ "description": "ClusterConfig is the configuration attributes. This structure is subset of the go-client\nrest.Config with annotations added for marshalling.", "type": "object", "properties": { + "awsAuthConfig": { + "$ref": "#/definitions/v1alpha1AWSAuthConfig" + }, "bearerToken": { "description": "Server requires Bearer authentication. This client will not attempt to use\nrefresh tokens for an OAuth2 flow.\nTODO: demonstrate an OAuth2 compatible client.", "type": "string" diff --git a/test/e2e/fixture.go b/test/e2e/fixture.go index 483eda4998340..c61a0be367341 100644 --- a/test/e2e/fixture.go +++ b/test/e2e/fixture.go @@ -196,7 +196,7 @@ func (f *Fixture) ensureClusterRegistered() error { errors.CheckError(err) managerBearerToken, err := common.InstallClusterManagerRBAC(clientset) errors.CheckError(err) - clst := commands.NewCluster(f.Config.Host, conf, managerBearerToken) + clst := commands.NewCluster(f.Config.Host, conf, managerBearerToken, nil) clstCreateReq := cluster.ClusterCreateRequest{Cluster: clst} _, err = cluster.NewServer(f.DB, f.Enforcer).Create(context.Background(), &clstCreateReq) return err diff --git a/util/kube/kube.go b/util/kube/kube.go index 910be119d1118..ab8281985bf69 100644 --- a/util/kube/kube.go +++ b/util/kube/kube.go @@ -558,6 +558,9 @@ func WriteKubeConfig(restConfig *rest.Config, namespace, filename string) error if restConfig.BearerToken != "" { kubeConfig.AuthInfos[restConfig.Host].Token = restConfig.BearerToken } + if restConfig.ExecProvider != nil { + kubeConfig.AuthInfos[restConfig.Host].Exec = restConfig.ExecProvider + } return clientcmd.WriteToFile(kubeConfig, filename) }