Skip to content

Commit 03b9190

Browse files
authored
Merge pull request #846 from fluxcd/add-missing-optional
Add missing optional to messageTemplateValues API
2 parents 02b165f + 8d5084b commit 03b9190

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

api/v1beta2/git.go

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ type CommitSpec struct {
7070

7171
// MessageTemplateValues provides additional values to be available to the
7272
// templating rendering.
73+
// +optional
7374
MessageTemplateValues map[string]string `json:"messageTemplateValues,omitempty"`
7475
}
7576

docs/api/v1beta2/image-automation.md

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ map[string]string
7878
</em>
7979
</td>
8080
<td>
81+
<em>(Optional)</em>
8182
<p>MessageTemplateValues provides additional values to be available to the
8283
templating rendering.</p>
8384
</td>

0 commit comments

Comments
 (0)