Skip to content

Commit 6df4332

Browse files
committed
try to shink resource name length
1 parent 0e9cfc8 commit 6df4332

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

e2e/capl-cluster-flavors/kubeadm-capl-cluster/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: chainsaw.kyverno.io/v1alpha1
33
kind: Test
44
metadata:
55
creationTimestamp: null
6-
name: default-capl-cluster
6+
name: default-cluster
77
# Labels to allow the test to be triggered based on selector flag
88
labels:
99
all:
@@ -13,7 +13,7 @@ spec:
1313
bindings:
1414
# A short identifier for the E2E test run
1515
- name: run
16-
value: (join('-', ['e2e', 'default-cluster', random('[0-9a-z]{7}')]))
16+
value: (join('-', ['e2e', 'default', random('[0-9a-z]{7}')]))
1717
- name: cluster
1818
# Format the cluster name
1919
# linode firewall has limit of max 32 chars, so we truncate the cluster name to 29 chars

e2e/capl-cluster-flavors/kubeadm-flatcar-vpcless-capl-cluster/chainsaw-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
bindings:
1414
# A short identifier for the E2E test run
1515
- name: run
16-
value: (join('-', ['e2e', 'flatcar-cluster', random('[0-9a-z]{7}')]))
16+
value: (join('-', ['e2e', 'flatcar', random('[0-9a-z]{7}')]))
1717
- name: cluster
1818
# Format the cluster name
1919
value: (trim((truncate(($run), `29`)), '-'))

e2e/linodemachine-controller/cluster-object-store/chainsaw-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: chainsaw.kyverno.io/v1alpha1
33
kind: Test
44
metadata:
5-
name: cluster-object-store
5+
name: obj-store
66
# Label to trigger the test on every PR
77
labels:
88
all:
@@ -11,14 +11,14 @@ spec:
1111
bindings:
1212
# A short identifier for the E2E test run
1313
- name: run
14-
value: (join('-', ['e2e', 'cluster-obj-store', random('[0-9a-z]{7}')]))
14+
value: (join('-', ['e2e', 'obj-store', random('[0-9a-z]{7}')]))
1515
- name: cluster
1616
# Format the cluster name
1717
value: (trim((truncate(($run), `29`)), '-'))
1818
- name: key
1919
# Format the key name into a valid Kubernetes object name
2020
# TODO: This is over-truncated to account for the Kubernetes access key Secret
21-
value: (trim((truncate((join('-', [($cluster), 'object-store'])), `52`)), '-'))
21+
value: (trim((truncate((join('-', [($cluster), 'obj-store'])), `52`)), '-'))
2222
- name: key_secret
2323
value: (concat(($key), '-obj-key'))
2424
template: true

e2e/linodemachine-controller/metadata-gzip-compression/chonk.txt

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)