-
Notifications
You must be signed in to change notification settings - Fork 4
Sync kubex charts from automation-controller main @ 71b5a52 #110
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,5 +15,5 @@ data: | |
| username: {{ .Values.kubexCredentials.username | b64enc | quote }} | ||
| epassword: {{ .Values.kubexCredentials.epassword | b64enc | quote }} | ||
| url: {{ .Values.kubex.url.host | b64enc | quote }} | ||
| DENSIFY_BASE_URL: {{ printf "https://%s" .Values.kubex.url.host | b64enc | quote }} | ||
| DENSIFY_BASE_URL: {{ printf "%s://%s" .Values.kubex.url.scheme .Values.kubex.url.host | b64enc | quote }} | ||
| {{- end }} | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CONTENT OF THIS REVIEW IS AI GENERATED [Severity: Major] [Confidence: High] Location: Issue: Why it matters: The DENSIFY_BASE_URL: {{ printf "%s://%s" (default "https" .Values.kubex.url.scheme) .Values.kubex.url.host | b64enc | quote }}Suggested fix: Add a |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,10 @@ | |
| "properties": { | ||
| "host": { | ||
| "type": "string" | ||
| }, | ||
| "scheme": { | ||
| "type": "string", | ||
| "enum": ["http", "https"] | ||
| } | ||
| } | ||
| }, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CONTENT OF THIS REVIEW IS AI GENERATED [Severity: Minor] [Confidence: High] Location: Issue: The Why it matters: Schema validation is the first line of defence. If Suggested fix: Either (a) add "scheme": {
"type": "string",
"enum": ["http", "https"],
"default": "https"
} |
||
|
|
@@ -158,10 +162,7 @@ | |
| "type": "boolean" | ||
| }, | ||
| "fsGroup": { | ||
| "type": [ | ||
| "integer", | ||
| "null" | ||
| ] | ||
| "type": ["integer", "null"] | ||
| }, | ||
| "fsGroupChangePolicy": { | ||
| "type": "string" | ||
|
|
@@ -320,20 +321,13 @@ | |
| } | ||
| }, | ||
| "then": { | ||
| "required": [ | ||
| "kubex", | ||
| "kubexCredentials" | ||
| ], | ||
| "required": ["kubex", "kubexCredentials"], | ||
| "properties": { | ||
| "kubex": { | ||
| "required": [ | ||
| "url" | ||
| ], | ||
| "required": ["url"], | ||
| "properties": { | ||
| "url": { | ||
| "required": [ | ||
| "host" | ||
| ], | ||
| "required": ["host"], | ||
| "properties": { | ||
| "host": { | ||
| "minLength": 1 | ||
|
|
||
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.
CONTENT OF THIS REVIEW IS AI GENERATED
[Severity: Minor] [Confidence: Medium]
Location:
charts/kubex-automation-engine/docs/Configuration-Reference.md:49Issue: The
kubex.url.schemetable row does not document the default value (https) or the allowed values (http|https), unlike the inline comment inkubex-automation-values.yamlwhich does mentionhttp.Why it matters: Users consulting only the Configuration Reference will not know what values are valid or what the default is, increasing the chance of misconfiguration.
Suggested fix: Expand the description to include default and valid values, for example: