|
3 | 3 |
|
4 | 4 | This folder is going to house some example YAMLs that will make the test suite fail if applied to a cluster. Not all test suites have an example to show but more examples can be added in the future. |
5 | 5 |
|
6 | | -Please refer to the [CATALOG](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md) for more information about the examples and how they affect the test suite's results. |
| 6 | +Please refer to the [CATALOG](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md) for more information about the examples and how they affect the test suite's results. |
7 | 7 |
|
8 | 8 | ## Examples by Test Suite |
9 | 9 |
|
10 | 10 | Please find an example below that ties to a specific test case you are interested in. |
11 | 11 |
|
12 | 12 | ### accesscontrol |
13 | 13 |
|
14 | | -* [cluster-role-bindings](examples/accesscontrol/clusterRoleBinding.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#cluster-role-bindings) |
| 14 | +* [cluster-role-bindings](examples/accesscontrol/clusterRoleBinding.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#cluster-role-bindings) |
15 | 15 |
|
16 | 16 | Creates necessary cluster role, role binding, service account, and pod that causes a failure in the `accesscontrol` suite of tests because the rolebinding cannot cross namespaces. |
17 | 17 |
|
18 | | -* [host-resource (host-port)](examples/accesscontrol/hostPortPod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#host-resource) |
19 | | -* [host-resource (ipc-lock)](examples/accesscontrol/ipcLockPod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#host-resource) |
20 | | -* [host-resource (net-admin)](examples/accesscontrol/netAdminPod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#host-resource) |
21 | | -* [host-resource (net-raw)](examples/accesscontrol/netRawPod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#host-resource) |
22 | | -* [host-resource (sys-admin)](examples/accesscontrol/sysAdminPod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#host-resource) |
| 18 | +* [host-resource (host-port)](examples/accesscontrol/hostPortPod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#host-resource) |
| 19 | +* [host-resource (ipc-lock)](examples/accesscontrol/ipcLockPod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#host-resource) |
| 20 | +* [host-resource (net-admin)](examples/accesscontrol/netAdminPod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#host-resource) |
| 21 | +* [host-resource (net-raw)](examples/accesscontrol/netRawPod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#host-resource) |
| 22 | +* [host-resource (sys-admin)](examples/accesscontrol/sysAdminPod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#host-resource) |
23 | 23 |
|
24 | | -* namespace (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#namespace) |
| 24 | +* namespace (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#namespace) |
25 | 25 |
|
26 | | -* [pod-automount-service-account-token](examples/accesscontrol/serviceAccountTokenPod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-automount-service-account-token) |
| 26 | +* [pod-automount-service-account-token](examples/accesscontrol/serviceAccountTokenPod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-automount-service-account-token) |
27 | 27 |
|
28 | | -* [pod-role-bindings](examples/accesscontrol/podRoleBinding.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-role-bindings) |
| 28 | +* [pod-role-bindings](examples/accesscontrol/podRoleBinding.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-role-bindings) |
29 | 29 |
|
30 | 30 | Creates necessary role, role binding, service account, and pod that causes a failure in the `accesscontrol` suite of tests because the rolebinding cannot cross namespaces. |
31 | 31 |
|
32 | | -* [pod-service-account](examples/accesscontrol/serviceAccountPod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-service-account) |
| 32 | +* [pod-service-account](examples/accesscontrol/serviceAccountPod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-service-account) |
33 | 33 |
|
34 | 34 | ### affiliated-certification |
35 | 35 |
|
36 | 36 | No examples to show (yet)… |
37 | 37 |
|
38 | | -* container-is-certified (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#container-is-certified) |
39 | | -* operator-is-certified (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#operator-is-certified) |
| 38 | +* container-is-certified (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#container-is-certified) |
| 39 | +* operator-is-certified (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#operator-is-certified) |
40 | 40 |
|
41 | 41 | ### lifecycle |
42 | 42 |
|
43 | 43 | Note: We might need the following flag set in the environment in which you are testing these YAMLs to avoid any draining, cluster-intrusive issues, etc. |
44 | 44 | `export TNF_NON_INTRUSIVE_ONLY=true` |
45 | 45 |
|
46 | | -* [container-shutdown (prestop)](examples/lifecycle/preStop.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#container-shutdown) |
| 46 | +* [container-shutdown (prestop)](examples/lifecycle/preStop.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#container-shutdown) |
47 | 47 |
|
48 | 48 | Creates a pod without a lifecycle.preStop defined that will cause a failure with this test suite. |
49 | 49 |
|
50 | | -* deployment-scaling (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#deployment-scaling) |
| 50 | +* deployment-scaling (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#deployment-scaling) |
51 | 51 |
|
52 | | -* [image-pull-policy](examples/lifecycle/imagePullPolicy.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#image-pull-policy) |
| 52 | +* [image-pull-policy](examples/lifecycle/imagePullPolicy.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#image-pull-policy) |
53 | 53 |
|
54 | 54 | Image in this pod has a pull policy of 'Always' which is incorrect. |
55 | 55 |
|
56 | | -* [pod-termination-grace-period](examples/lifecycle/terminationGracePeriod.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-termination-grace-period) |
| 56 | +* [pod-termination-grace-period](examples/lifecycle/terminationGracePeriod.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-termination-grace-period) |
57 | 57 |
|
58 | 58 | Creates a pod without a terminationGracePeriod set correctly. |
59 | 59 |
|
60 | | -* [pod-high-availability](examples/lifecycle/highAvailability.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-high-availability) |
| 60 | +* [pod-high-availability](examples/lifecycle/highAvailability.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-high-availability) |
61 | 61 |
|
62 | 62 | Creates a deployment with a replica count of 2 but with no pod anti affinity rules. |
63 | 63 |
|
64 | | -* [pod-owner-type](examples/lifecycle/podOwnerType.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-owner-type) |
| 64 | +* [pod-owner-type](examples/lifecycle/podOwnerType.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-owner-type) |
65 | 65 |
|
66 | 66 | Creates a pod with no "owner". It does not belong to a replicaset or a deployment. |
67 | 67 |
|
68 | | -* pod-recreation (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-recreation) |
| 68 | +* pod-recreation (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-recreation) |
69 | 69 |
|
70 | | -* pod-scheduling (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#pod-scheduling) |
| 70 | +* pod-scheduling (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#pod-scheduling) |
71 | 71 |
|
72 | | -* stateful-scaling (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#statefulset-scaling) |
| 72 | +* stateful-scaling (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#statefulset-scaling) |
73 | 73 |
|
74 | 74 | ### networking |
75 | 75 |
|
76 | | -* icmpv4-connectivity (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#icmpv4-connectivity) |
| 76 | +* icmpv4-connectivity (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#icmpv4-connectivity) |
77 | 77 |
|
78 | | -* icmpv4-connectivity-multus (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#icmpv4-connectivity-multus) |
| 78 | +* icmpv4-connectivity-multus (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#icmpv4-connectivity-multus) |
79 | 79 |
|
80 | | -* [service-type (nodeport check)](examples/networking/nodeport.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#service-type) |
| 80 | +* [service-type (nodeport check)](examples/networking/nodeport.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#service-type) |
81 | 81 |
|
82 | 82 | Creates a service in the cluster that uses type nodePort. The test suite ensures that no services with nodePort are created. |
83 | 83 |
|
84 | 84 | ### observability |
85 | 85 |
|
86 | | -* [container-logging](examples/observability/logging.yaml) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#container-logging) |
| 86 | +* [container-logging](examples/observability/logging.yaml) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#container-logging) |
87 | 87 |
|
88 | 88 | Creates an `echo-server` pod which does some logging to the stdout. The test checks if stdout is available to pass. This is sort of an anti-test. Any pod created that doesn't log to stdout/stderr would fail. |
89 | 89 |
|
90 | | -* crd-status (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#crd-status) |
| 90 | +* crd-status (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#crd-status) |
91 | 91 |
|
92 | 92 | ### operator |
93 | 93 |
|
94 | | -* install-source (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#install-source) |
95 | | -* install-status (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#install-status) |
| 94 | +* install-source (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#install-source) |
| 95 | +* install-status (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#install-status) |
96 | 96 |
|
97 | 97 | ### platform-alteration |
98 | 98 |
|
99 | | -* base-image (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#base-image) |
100 | | -* boot-params (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#boot-params) |
101 | | -* hugepages-config (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#hugepages-config) |
102 | | -* isredhat-release (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#isredhat-release) |
103 | | -* sysctl-config (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#sysctl-config) |
104 | | -* tainted-node-kernel (no example) - [Catalog Link](https://github.com/test-network-function/test-network-function/blob/main/CATALOG.md#tainted-node-kernel) |
| 99 | +* base-image (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#base-image) |
| 100 | +* boot-params (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#boot-params) |
| 101 | +* hugepages-config (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#hugepages-config) |
| 102 | +* isredhat-release (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#isredhat-release) |
| 103 | +* sysctl-config (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#sysctl-config) |
| 104 | +* tainted-node-kernel (no example) - [Catalog Link](https://github.com/test-network-function/cnf-certification-test/blob/main/CATALOG.md#tainted-node-kernel) |
0 commit comments