conjurdemos / kubernetes-conjur-demo

Demo application for Conjur Kubernetes integration
11 stars 14 forks source link

Shorten name of flow to get tests passing in OCP 4.7 #137

Closed izgeri closed 3 years ago

izgeri commented 3 years ago

The test-app-with-host-outside-apps-branch-summon-init flows exceeded the 63 char limit in OCP 4.7, leading to errors in the pipeline that looked like this:

[2021-05-13T18:47:47.852Z] deploymentconfig.apps.openshift.io/test-app-with-host-outside-apps-branch-summon-init created
[2021-05-13T18:47:47.852Z] The Route "test-app-with-host-outside-apps-branch-summon-init" is invalid: spec.host: Invalid value: "test-app-with-host-outside-apps-branch-summon-init-test-app-5-89f9f44a-2.apps.openshift-47-fips-enc.ci.conjur.net": host must conform to DNS 1123 naming conventions: [spec.host: Invalid value: "test-app-with-host-outside-apps-branch-summon-init-test-app-5-89f9f44a-2": must be no more than 63 characters]

In this PR, we update the name of those flows to something shorter. You can see them passing in OCP 4.7 here.