Skip to content

Commit

Permalink
wording fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleywang1 committed Aug 30, 2024
1 parent c6224b1 commit 3a7b2f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion codegen/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ var _ = Describe("Cmd", func() {

painterNode := node.Content[0].Content[1]
enabledMapField := painterNode.Content[0]
Expect(enabledMapField.HeadComment).To(ContainSubstring("Arbitrary overrides for the component's [deployment spec"))
Expect(enabledMapField.HeadComment).To(ContainSubstring("Arbitrary overrides for the component's [deployment"))
})

It("generates from templates using a name override", func() {
Expand Down
4 changes: 2 additions & 2 deletions codegen/model/values/helm_chart_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ type UserValues struct {
PodSecurityContext *v1.PodSecurityContext `json:"podSecurityContext,omitempty" desc:"Pod-level security context. For more info, see the [Kubernetes documentation](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#podsecuritycontext-v1-core)." omitChildren:"true"`

// Overrides which can be set by the user
DeploymentOverrides *appsv1.Deployment `json:"deploymentOverrides" desc:"Arbitrary overrides for the component's [deployment spec template](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/), such as to set resource limits and requests. Format the overrides as YAML or JSON." omitChildren:"true"`
ServiceOverrides *v1.Service `json:"serviceOverrides" desc:"Arbitrary overrides for the component's [service spec template](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/)." omitChildren:"true"`
DeploymentOverrides *appsv1.Deployment `json:"deploymentOverrides" desc:"Arbitrary overrides for the component's [deployment spec](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/), such as to set resource limits and requests. Format the overrides as YAML or JSON." omitChildren:"true"`
ServiceOverrides *v1.Service `json:"serviceOverrides" desc:"Arbitrary overrides for the component's [service spec](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/)." omitChildren:"true"`
}

// document values structure for a container
Expand Down
4 changes: 2 additions & 2 deletions codegen/test/name_override_chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by skv2. DO NOT EDIT.

overrideName:
# Arbitrary overrides for the component's [deployment spec
# Arbitrary overrides for the component's [deployment
# template](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/),
# such as to set resource limits and requests. Format the overrides as YAML or
# JSON.
Expand All @@ -28,7 +28,7 @@ overrideName:
ports: {}
# Static user ID to run the containers as. Unused if floatingUserId is 'true'.
runAsUser: 10101
# Arbitrary overrides for the component's [service spec
# Arbitrary overrides for the component's [serviceg
# template](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/).
serviceOverrides: null
# Kubernetes service type. Can be either "ClusterIP", "NodePort", "LoadBalancer",
Expand Down

0 comments on commit 3a7b2f0

Please sign in to comment.