Skip to content

Commit

Permalink
feat: add EnableGoCoverDir (#591)
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <[email protected]>
(cherry picked from commit d29437e)
  • Loading branch information
FrankYang0529 authored and Vicente-Cheng committed Nov 29, 2023
1 parent 6a4f374 commit 89a46d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ type StorageClass struct {
}

type HarvesterChartValues struct {
StorageClass StorageClass `json:"storageClass,omitempty"`
Longhorn LonghornChartValues `json:"longhorn,omitempty"`
StorageClass StorageClass `json:"storageClass,omitempty"`
Longhorn LonghornChartValues `json:"longhorn,omitempty"`
EnableGoCoverDir bool `json:"enableGoCoverDir,omitempty"`
}

type Install struct {
Expand Down
3 changes: 3 additions & 0 deletions pkg/config/templates/rancherd-10-harvester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ resources:
storageClass:
replicaCount: {{ .Harvester.StorageClass.ReplicaCount }}
{{- end }}
{{- if .Harvester.EnableGoCoverDir }}
enableGoCoverDir: true
{{- end }}
kubevirt:
spec:
monitorAccount: rancher-monitoring-operator
Expand Down

0 comments on commit 89a46d3

Please sign in to comment.