Skip to content

Commit

Permalink
Merge pull request #187 from zzxwill/secret-label
Browse files Browse the repository at this point in the history
Add a label to mark the secret
  • Loading branch information
zzxwill authored Nov 29, 2021
2 parents ab17426 + 59dd7ea commit e4b5b34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/configuration_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,9 @@ func (meta *TFConfigurationMeta) getTFOutputs(ctx context.Context, k8sClient cli
ObjectMeta: metav1.ObjectMeta{
Name: name,
Namespace: ns,
Labels: map[string]string{
"created-by": "terraform-controller",
},
},
TypeMeta: metav1.TypeMeta{Kind: "Secret"},
Data: data,
Expand Down

0 comments on commit e4b5b34

Please sign in to comment.