Skip to content

Commit 6eaa2dd

Browse files
committed
chore: address review comments
1 parent 36874a6 commit 6eaa2dd

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

api/v1alpha1/validatorconfig_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
// ValidatorConfigSpec defines the desired state of ValidatorConfig.
2525
type ValidatorConfigSpec struct {
26-
// HelmConfig defines the configuration for the Helm repository.
26+
// HelmConfig defines the configuration for the Helm registry.
2727
HelmConfig HelmConfig `json:"helmConfig" yaml:"helmConfig"`
2828

2929
// Plugins defines the configuration for the validator plugins.

chart/validator/templates/validator-config.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@ metadata:
77
spec:
88
helmConfig:
99
registry: {{ required ".Values.helmConfig.registry is required!" .Values.helmConfig.registry }}
10-
{{- if .Values.helmConfig.caFile }}
1110
caFile: {{ .Values.helmConfig.caFile }}
12-
{{- end }}
13-
{{- if .Values.helmConfig.insecureSkipVerify }}
1411
insecureSkipVerify: {{ .Values.helmConfig.insecureSkipVerify }}
15-
{{- end }}
16-
{{- if .Values.helmConfig.authSecretName }}
1712
authSecretName: {{ .Values.helmConfig.authSecretName }}
18-
{{- end }}
1913
plugins:
2014
{{- range .Values.plugins }}
2115
-

config/crd/bases/validation.spectrocloud.labs_validatorconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
description: ValidatorConfigSpec defines the desired state of ValidatorConfig.
4141
properties:
4242
helmConfig:
43-
description: HelmConfig defines the configuration for the Helm repository.
43+
description: HelmConfig defines the configuration for the Helm registry.
4444
properties:
4545
authSecretName:
4646
description: AuthSecretName is the name of the K8s secret containing

0 commit comments

Comments
 (0)