Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan authored and isaaguilar committed Feb 12, 2021
1 parent 71bf3ed commit 924ab62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/tf/v1alpha1/terraform_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type TerraformSpec struct {

// Credentials is an array of credentials generally used for Terraform
// providers
Credentails []Credentials `json:"credentials,omitempty"`
Credentials []Credentials `json:"credentials,omitempty"`

// ApplyOnCreate is used to apply any planned changes when the resource is
// first created. Omitting this or setting it to false will resort to
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/tf/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/controller/terraform/terraform_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ func (r *ReconcileTerraform) setupAndRun(reqLogger logr.Logger, instance *tfv1al
reqLogger.Info("Reading spec.config ")
// TODO Validate spec.config exists
// TODO validate spec.sources exists && len > 0
runOpts.credentials = instance.Spec.Credentails
runOpts.credentials = instance.Spec.Credentials
tfvars := ""
otherConfigFiles := make(map[string]string)
for _, s := range instance.Spec.Sources {
Expand Down

0 comments on commit 924ab62

Please sign in to comment.