Skip to content

Commit

Permalink
Merge pull request openshift#1281 from spangenberg/machine-operator-s…
Browse files Browse the repository at this point in the history
…upport-credentials-request

Add credentials secret to AWS provider config in order to support CredentialsRequest
  • Loading branch information
openshift-merge-robot authored Mar 5, 2019
2 parents b05060e + 30f5cf0 commit 0137c54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/asset/machines/aws/machines.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func provider(clusterID string, platform *aws.Platform, mpool *aws.MachinePool,
Tags: tags,
IAMInstanceProfile: &awsprovider.AWSResourceReference{ID: pointer.StringPtr(fmt.Sprintf("%s-%s-profile", clusterID, role))},
UserDataSecret: &corev1.LocalObjectReference{Name: userDataSecret},
CredentialsSecret: &corev1.LocalObjectReference{Name: "aws-cloud-credentials"},
Subnet: awsprovider.AWSResourceReference{
Filters: []awsprovider.Filter{{
Name: "tag:Name",
Expand Down

0 comments on commit 0137c54

Please sign in to comment.