Skip to content

Commit

Permalink
chore: remove unneeded secret values (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommartensen authored Apr 11, 2024
1 parent b6e9c0b commit aeffea6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions chart/infra-server/templates/aws/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,3 @@ data:
{{ .Values.aws.accessKeyId | b64enc }}
AWS_SECRET_ACCESS_KEY: |-
{{ .Values.aws.secretAccessKey | b64enc }}
REDHAT_PULL_SECRET_BASE64: |-
{{ .Values.aws.redHatPullSecretBase64 | b64enc }}
OPENSHIFT_CLUSTER_MANAGER_API_TOKEN: |-
{{ .Values.aws.openshiftClusterManagerApiToken | b64enc }}
2 changes: 1 addition & 1 deletion cmd/infractl/cluster/utils/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func ValidateParameterArgument(parts []string) error {
if value == "" {
return errors.New("value is empty")
}
match, err = regexp.MatchString(`^[a-zA-Z0-9:?/.-]+$`, value)
match, err = regexp.MatchString(`^[a-zA-Z0-9:?/.-_]+$`, value)
if err != nil {
return err
}
Expand Down

0 comments on commit aeffea6

Please sign in to comment.