1
0
mirror of synced 2026-02-06 19:05:55 +00:00

fix some comments

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2023-04-25 15:04:09 +08:00
committed by Hidde Beydals
parent f9be835288
commit 3edfff49a2
6 changed files with 7 additions and 7 deletions

View File

@@ -419,7 +419,7 @@ func maskSopsData(res *resource.Resource) error {
res.PipeE(yaml.FieldClearer{Name: "sops"})
secretType, err := res.GetFieldValue(typeField)
// If the intented type is Opaque, then it can be omitted from the manifest, since it's the default
// If the intended type is Opaque, then it can be omitted from the manifest, since it's the default
// Ref: https://kubernetes.io/docs/concepts/configuration/secret/#opaque-secrets
if errors.As(err, &yaml.NoFieldError{}) {
secretType = "Opaque"