Skip to content

Commit efbf98f

Browse files
committed
shorten label suffix to length of git short hash
1 parent 2326ae6 commit efbf98f

File tree

23 files changed

+23
-23
lines changed

23 files changed

+23
-23
lines changed

e2e/admission-webhooks/validating/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', 'validating-webhooks', random('[0-9a-z]{8}')]))
16+
value: (join('-', ['e2e', 'validating-webhooks', random('[0-9a-z]{7}')]))
1717
- name: name
1818
# Format a generic resource name
1919
value: (trim((truncate(($run), `29`)), '-'))

e2e/capl-cluster-flavors/k3s-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', 'k3s-cluster', random('[0-9a-z]{8}')]))
16+
value: (join('-', ['e2e', 'k3s-cluster', random('[0-9a-z]{7}')]))
1717
- name: cluster
1818
# Format the cluster name
1919
value: (trim((truncate(($run), `29`)), '-'))

e2e/capl-cluster-flavors/kubeadm-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', 'default-cluster', random('[0-9a-z]{8}')]))
16+
value: (join('-', ['e2e', 'default-cluster', 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]{8}')]))
16+
value: (join('-', ['e2e', 'flatcar-cluster', random('[0-9a-z]{7}')]))
1717
- name: cluster
1818
# Format the cluster name
1919
value: (trim((truncate(($run), `29`)), '-'))

e2e/capl-cluster-flavors/kubeadm-full-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
# Identifier for the E2E test run
1515
- name: run
16-
value: (join('-', ['e2e', 'kdmf-tst', random('[0-9a-z]{8}')]))
16+
value: (join('-', ['e2e', 'kdmf-tst', random('[0-9a-z]{7}')]))
1717
- name: cluster
1818
# Format the cluster name
1919
value: (trim((truncate(($run), `29`)), '-'))

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

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

e2e/linodecluster-controller/firewall-integration/chainsaw-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
bindings:
1313
# A short identifier for the E2E test run
1414
- name: run
15-
value: (join('-', ['e2e', 'firewall-integration', random('[0-9a-z]{8}')]))
15+
value: (join('-', ['e2e', 'firewall-integration', random('[0-9a-z]{7}')]))
1616
- name: firewall
1717
# Format the firewall name into a valid Kubernetes object name
1818
value: (trim((truncate(($run), `63`)), '-'))

e2e/linodecluster-controller/minimal-linodecluster/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', 'min-cluster', random('[0-9a-z]{8}')]))
16+
value: (join('-', ['e2e', 'min-cluster', random('[0-9a-z]{7}')]))
1717
- name: cluster
1818
# Format the cluster name
1919
value: (trim((truncate(($run), `29`)), '-'))

e2e/linodefirewall-controller/linodefirewall-addressset/chainsaw-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
bindings:
1313
# A short identifier for the E2E test run
1414
- name: run
15-
value: (join('-', ['e2e', 'addrset-firewall', random('[0-9a-z]{8}')]))
15+
value: (join('-', ['e2e', 'addrset-firewall', random('[0-9a-z]{7}')]))
1616
- name: firewall
1717
# Format the firewall name into a valid Kubernetes object name
1818
value: (trim((truncate(($run), `63`)), '-'))

e2e/linodefirewall-controller/linodefirewall-firewall-rule/chainsaw-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
bindings:
1313
# A short identifier for the E2E test run
1414
- name: run
15-
value: (join('-', ['e2e', 'fwrule-firewall', random('[0-9a-z]{8}')]))
15+
value: (join('-', ['e2e', 'fwrule-firewall', random('[0-9a-z]{7}')]))
1616
- name: firewall
1717
# Format the firewall name into a valid Kubernetes object name
1818
value: (trim((truncate(($run), `63`)), '-'))

0 commit comments

Comments
 (0)