Skip to content

Commit 39595ae

Browse files
committed
chore: lint markdown new-features.md #15149
Reference #15149 Currently we do not lint the new-features.md file because it fails straight during a release. This commit makes the new-features.md compliant with the markdownlint tool and it adds linting check at the right time and not during a CI release. Signed-off-by: Gianluca Arbezzano <[email protected]>
1 parent 0c77432 commit 39595ae

File tree

10 files changed

+144
-155
lines changed

10 files changed

+144
-155
lines changed

.features/pending/14679-cronworkflow-delete-warning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Issues: 14679
33
Description: Add an informational message to the CronWorkflow delete confirmation modal indicating that Workflows created by the CronSchedule will also be deleted.
44
Author: [minsun yun](https://github.com/miinsun)
55

6-
- UI/UX only; **no functional logic** is changed.
7-
- Verified manually by deleting a CronWorkflow in the Workflows UI and confirming the message renders correctly.
6+
UI/UX only; **no functional logic** is changed
7+
Verified manually by deleting a CronWorkflow in the Workflows UI and confirming the message renders correctly

.features/pending/14807-workflow-templates-label-filter-sync.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Issues: 14807
33
Description: Add label query parameter sync with URL in WorkflowTemplates UI to match Workflows list behavior for consistent filtering.
44
Author: [puretension](https://github.com/puretension)
55

6-
- WorkflowTemplates UI now properly handles label query parameters (e.g., ?label=key%3Dvalue)
7-
- Combined URL updates and localStorage persistence in single useEffect
8-
- Enables custom UI links for filtered template views
9-
- Verified that URL updates when changing filters and filters persist on page refresh
6+
WorkflowTemplates UI now properly handles label query parameters (e.g., ?label=key%3Dvalue)
7+
Combined URL updates and localStorage persistence in single useEffect
8+
Enables custom UI links for filtered template views
9+
Verified that URL updates when changing filters and filters persist on page refresh

.features/pending/cel-validation.md

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,61 +11,61 @@ It will inform you of
1111
Fields marked with `+kubebuilder:validation:Schemaless` (like `withItems`) or `+kubebuilder:pruning:PreserveUnknownFields` (like `inline`) are not visible to CEL validation expressions.
1212

1313
**CEL Budget Management:** Kubernetes limits the total cost of CEL validation rules per CRD. To stay within these limits:
14-
* All `status` blocks have CEL validations automatically stripped during CRD generation
15-
* Controller-managed CRDs (WorkflowTaskSet, WorkflowTaskResult, WorkflowArtifactGCTask) have all CEL validations removed from both spec and status
16-
* Server-side validations in `workflow/validate/validate.go` supplement CEL for fields that cannot be validated with CEL (e.g., schemaless fields)
14+
- All `status` blocks have CEL validations automatically stripped during CRD generation
15+
- Controller-managed CRDs (WorkflowTaskSet, WorkflowTaskResult, WorkflowArtifactGCTask) have all CEL validations removed from both spec and status
16+
- Server-side validations in `workflow/validate/validate.go` supplement CEL for fields that cannot be validated with CEL (e.g., schemaless fields)
1717

1818
**Array and String Size Limits:** To manage CEL validation costs, the following maximum sizes are enforced:
19-
* Templates per workflow: 200
20-
* DAG tasks per DAG template: 200
21-
* Parameters: 500
22-
* Prometheus metrics per template: 100
23-
* Gauge metric value string: 256 characters
19+
- Templates per workflow: 200
20+
- DAG tasks per DAG template: 200
21+
- Parameters: 500
22+
- Prometheus metrics per template: 100
23+
- Gauge metric value string: 256 characters
2424

25-
#### Mutual Exclusivity Rules:
26-
* only one template type per template
27-
* only one of sequence count/end
28-
* only one of manifest/manifestFrom
29-
* cannot use both depends and dependencies in DAG tasks.
25+
**Mutual Exclusivity Rules:**
26+
- only one template type per template
27+
- only one of sequence count/end
28+
- only one of manifest/manifestFrom
29+
- cannot use both depends and dependencies in DAG tasks.
3030

31-
#### DAG Task Constraints:
32-
* task names cannot start with digit when using depends/dependencies
33-
* cannot use continueOn with depends.
31+
**DAG Task Constraints:**
32+
- task names cannot start with digit when using depends/dependencies
33+
- cannot use continueOn with depends.
3434

35-
#### Timeout on Non-Leaf Templates:
36-
* Timeout cannot be set on steps or dag templates (only on leaf templates).
35+
**Timeout on Non-Leaf Templates:**
36+
- Timeout cannot be set on steps or dag templates (only on leaf templates).
3737

38-
#### Cron Schedule Format:
39-
* CronWorkflow schedules must be valid 5-field cron expressions, specialdescriptors (@yearly, @hourly, etc.), or interval format (@every).
38+
**Cron Schedule Format:**
39+
- CronWorkflow schedules must be valid 5-field cron expressions, specialdescriptors (@yearly, @hourly, etc.), or interval format (@every).
4040

41-
#### Metric Validation:
42-
* metric and label names validation
43-
* help and value fields required
44-
* real-time gauges cannot use resourcesDuration metrics
41+
**Metric Validation:**
42+
- metric and label names validation
43+
- help and value fields required
44+
- real-time gauges cannot use resourcesDuration metrics
4545

46-
#### Artifact:
47-
* At most one artifact location may be specified
48-
* Artifact.Mode must be between 0 and 511 (0777 octal) for file permissions.
46+
**Artifact:**
47+
- At most one artifact location may be specified
48+
- Artifact.Mode must be between 0 and 511 (0777 octal) for file permissions.
4949

50-
#### Enum Validations:
51-
* PodGC strategy
52-
* ConcurrencyPolicy
53-
* RetryPolicy
54-
* GaugeOperation
55-
* Resource action
56-
* MergeStrategy
57-
all have restricted allowed values.
50+
**Enum Validations:**
51+
- PodGC strategy
52+
- ConcurrencyPolicy
53+
- RetryPolicy
54+
- GaugeOperation
55+
- Resource action
56+
- MergeStrategy
57+
all have restricted allowed values.
5858

59-
#### Name Pattern Constraints:
60-
* Template/Step/Task names: max 128 chars, pattern ^[a-zA-Z0-9][-a-zA-Z0-9]*$;
61-
* Parameter/Artifact names: pattern ^[a-zA-Z0-9_][-a-zA-Z0-9_]*$.
59+
**Name Pattern Constraints:**
60+
- Template/Step/Task names: max 128 chars, pattern `^[a-zA-Z0-9][-a-zA-Z0-9]*$;`
61+
- Parameter/Artifact names: pattern `^[a-zA-Z0-9_][-a-zA-Z0-9_]*$.`
6262

63-
#### Minimum Array Sizes:
64-
* Template.Steps requires at least one step group
65-
* Parameter.Enum requires at least one value
66-
* CronWorkflow.Schedules requires at least one schedule
67-
* DAG.Tasks requires at least one task.
63+
**Minimum Array Sizes:**
64+
- Template.Steps requires at least one step group
65+
- Parameter.Enum requires at least one value
66+
- CronWorkflow.Schedules requires at least one schedule
67+
- DAG.Tasks requires at least one task.
6868

69-
#### Numeric Constraints:
70-
* Parallelism minimum 1
71-
* StartingDeadlineSeconds minimum 0.
69+
**Numeric Constraints:**
70+
- Parallelism minimum 1
71+
- StartingDeadlineSeconds minimum 0.

.features/pending/custom-sso-ca-configuration.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,19 @@ Issues: 7198
66
This feature adds support for custom TLS configuration when connecting to OIDC providers for SSO authentication.
77
This is particularly useful when your OIDC provider uses self-signed certificates or custom Certificate Authorities (CAs).
88

9-
* Use this feature when your OIDC provider uses custom self-signed CA certificates
10-
* Configure custom CA certificates either inline or by file path
9+
- Use this feature when your OIDC provider uses custom self-signed CA certificates
10+
- Configure custom CA certificates either inline or by file path
1111

12-
### Configuration Examples
12+
**Configuration Examples**
13+
**Inline PEM content**
1314

14-
#### Inline PEM content
15-
```yaml
16-
sso:
17-
# Custom PEM encoded CA certificate file contents
18-
rootCA: |-
19-
-----BEGIN CERTIFICATE-----
20-
MIIDXTCCAkWgAwIBAgIJAKoK/heBjcOuMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
21-
...
22-
-----END CERTIFICATE-----
23-
```
15+
sso:
16+
# Custom PEM encoded CA certificate file contents
17+
rootCA: |-
18+
-----BEGIN CERTIFICATE-----
19+
MIIDXTCCAkWgAwIBAgIJAKoK/heBjcOuMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
20+
...
21+
-----END CERTIFICATE-----
2422

2523
The system will automatically use certificates configured with SSL_CERT_DIR, and SSL_CERT_FILE for non macOS environments.
2624
For production environments, always use proper CA certificates instead of skipping TLS verification.

.features/pending/feat-logging.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Issues: 11120
33
Description: This migrates most of the logging off logrus and onto a custom logger.
44
Author: [Isitha Subasinghe](https://github.com/isubasinghe)
55

6-
Currently it is quite hard to identify log lines with it's corresponding workflow.
7-
This change propagates a context object down the call hierarchy containing an
8-
annotated logging object. This allows context aware logging from deep within the
9-
codebase.
6+
Currently it is quite hard to identify log lines with it's corresponding
7+
workflow. This change propagates a context object down the call hierarchy
8+
containing an annotated logging object. This allows context aware logging from
9+
deep within the codebase.

.features/pending/open-custom-link-in-new-tab.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ Description: Support open custom links in new tab automatically.
44
Author: [Shuangkun Tian](https://github.com/shuangkun)
55

66
Support configuring a custom link to open in a new tab by default.
7-
If target == _blank, open in new tab, if target is null or _self, open in this tab. For example:
8-
```
7+
If `target == _blank`, open in new tab, if target is null or `_self`, open in this tab. For example:
8+
99
- name: Pod Link
1010
scope: pod
1111
target: _blank
1212
url: http://logging-facility?namespace=${metadata.namespace}&podName=${metadata.name}&startedAt=${status.startedAt}&finishedAt=${status.finishedAt}
13-
```
14-

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ endif
863863
.PHONY: docs-lint
864864
docs-lint: $(TOOL_MARKDOWNLINT) docs/metrics.md
865865
# lint docs
866-
$(TOOL_MARKDOWNLINT) docs --fix --ignore docs/fields.md --ignore docs/executor_swagger.md --ignore docs/cli --ignore docs/walk-through/the-structure-of-workflow-specs.md --ignore docs/tested-kubernetes-versions.md --ignore docs/new-features.md --ignore docs/go-sdk-guide.md
866+
$(TOOL_MARKDOWNLINT) docs --fix --ignore docs/fields.md --ignore docs/executor_swagger.md --ignore docs/cli --ignore docs/walk-through/the-structure-of-workflow-specs.md --ignore docs/tested-kubernetes-versions.md --ignore docs/go-sdk-guide.md
867867

868868
$(TOOL_MKDOCS): docs/requirements.txt
869869
# update this in Nix when upgrading it here
@@ -935,16 +935,18 @@ features-preview: hack/featuregen/featuregen
935935
$< update --dry
936936

937937
.PHONY: features-update
938-
features-update: hack/featuregen/featuregen
938+
features-update: hack/featuregen/featuregen $(TOOL_MARKDOWNLINT)
939939
# Update the features documentation, but keep the feature files in the pending directory
940940
# Updates docs/new-features.md for release-candidates
941941
$< update --version $(VERSION)
942+
$(TOOL_MARKDOWNLINT) ./docs/new-features.md
942943

943944
.PHONY: features-release
944-
features-release: hack/featuregen/featuregen
945+
features-release: hack/featuregen/featuregen $(TOOL_MARKDOWNLINT)
945946
# Update the features documentation AND move the feature files to the released directory
946947
# Use this for the final update when releasing a version
947948
$< update --version $(VERSION) --final
949+
$(TOOL_MARKDOWNLINT) ./docs/new-features.md
948950

949951
hack/featuregen/featuregen: hack/featuregen/main.go hack/featuregen/contents.go hack/featuregen/contents_test.go hack/featuregen/main_test.go
950952
go test ./hack/featuregen

0 commit comments

Comments
 (0)