-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APPX-88 & APPX-89: Default value for WriteConnectionSecretToRef and write values in lowercase #13
Conversation
…sed by args as serviceName
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add a golden test that verifies that overwriting the secret name works?
@@ -1,19 +1,20 @@ | |||
apiVersion: exoscale.appcat.vshn.io/v1 | |||
kind: ExoscaleKafka | |||
kind: exoscalekafka |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks wrong? Does it matter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, I'll revert the whole lowercase thingy.
@@ -127,7 +127,7 @@ func mapArgsToInput(args []string) []Input { | |||
inputList = append(inputList, input) | |||
input = Input{} | |||
} else { | |||
input.Value = arg | |||
input.Value = NormalizeName(arg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually now that I think about it, I'm not sure that this (and APPX-89) is correct. While it might b e true that Spec.Parameters.Maintenance.DayOfWeek
must be lowercase, it might be that other fields must be mixed case, no?
For example, I think fields like imagePullPolicy
MUST be Always
, and always
is invalid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, some consistency would have been amazing, oh well.
Changes: