You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: update trusted-ca volume mount to custom directory
The PR is focus on the custom ca being used in trusted-artifact
stepactions and in these stepactions, the environment variable
CA_FILE is set with the value of caCertPath (for example here).
Then it will be passed to oras_opts.sh in
https://github.com/konflux-ci/build-trusted-artifacts repo.
It changes trusted-ca ConfigMap mount to use a custom directory
to prevent conflicts with system certificate paths.
The ConfigMap is now mounted back to:
/mnt/trusted-ca (directory mount)
And the caCertPath parameter default is updated to:
/mnt/trusted-ca/ca-bundle.crt
The PR also removed the unnecessary volume mount in
verify-access-to-resources task.
It also update to new build-trusted-artifacts image reference in
stepactions.
Signed-off-by: Jing Qi
Assisted-By: Claude
Made-with: Cursor
| snapshotPath | Path to the JSON string of the Snapshot spec in the config workspace to apply the mapping to | No | - |
34
-
| dataPath | Path to the JSON string of the merged data to use in the data workspace | No | - |
35
-
| failOnEmptyResult | Fail the task if the resulting snapshot contains 0 components | Yes | false |
36
-
| ociStorage | The OCI repository where the Trusted Artifacts are stored | Yes | empty |
37
-
| ociArtifactExpiresAfter | Expiration date for the trusted artifacts created in the OCI repository. An empty string means the artifacts do not expire | Yes | 1d |
38
-
| trustedArtifactsDebug | Flag to enable debug logging in trusted artifacts. Set to a non-empty string to enable | Yes | "" |
39
-
| orasOptions | oras options to pass to Trusted Artifacts calls | Yes | "" |
40
-
| sourceDataArtifact | Location of trusted artifacts to be used to populate data directory | Yes | "" |
41
-
| dataDir | The location where data will be stored | Yes | /var/workdir/release |
42
-
| taskGitUrl | The url to the git repo where the release-service-catalog tasks and stepactions to be used are stored | No | - |
43
-
| taskGitRevision | The revision in the taskGitUrl repo to be used | No | - |
44
-
| caTrustConfigMapName | The name of the ConfigMap to read CA bundle data from | Yes | trusted-ca |
45
-
| caTrustConfigMapKey | The name of the key in the ConfigMap that contains the CA bundle data | Yes | ca-bundle.crt |
46
-
| addImplicitTimestampTag | When "true", for each repository the resolved {{ timestamp }} value is added to the list of tags after translation (deduplicated). Fails if timestamp is empty. Only pipelines referencing the check-labels task should set this to "true" | Yes | false |
47
-
| caCertPath | Path to CA certificate bundle for TLS verification with self-signed certificates | Yes | /etc/pki/tls/certs/ca-bundle.crt |
| snapshotPath | Path to the JSON string of the Snapshot spec in the config workspace to apply the mapping to | No | - |
34
+
| dataPath | Path to the JSON string of the merged data to use in the data workspace | No | - |
35
+
| failOnEmptyResult | Fail the task if the resulting snapshot contains 0 components | Yes | false |
36
+
| ociStorage | The OCI repository where the Trusted Artifacts are stored | Yes | empty |
37
+
| ociArtifactExpiresAfter | Expiration date for the trusted artifacts created in the OCI repository. An empty string means the artifacts do not expire | Yes | 1d |
38
+
| trustedArtifactsDebug | Flag to enable debug logging in trusted artifacts. Set to a non-empty string to enable | Yes | "" |
39
+
| orasOptions | oras options to pass to Trusted Artifacts calls | Yes | "" |
40
+
| sourceDataArtifact | Location of trusted artifacts to be used to populate data directory | Yes | "" |
41
+
| dataDir | The location where data will be stored | Yes | /var/workdir/release |
42
+
| taskGitUrl | The url to the git repo where the release-service-catalog tasks and stepactions to be used are stored | No | - |
43
+
| taskGitRevision | The revision in the taskGitUrl repo to be used | No | - |
44
+
| caTrustConfigMapName | The name of the ConfigMap to read CA bundle data from | Yes | trusted-ca |
45
+
| caTrustConfigMapKey | The name of the key in the ConfigMap that contains the CA bundle data | Yes | ca-bundle.crt |
46
+
| addImplicitTimestampTag | When "true", for each repository the resolved {{ timestamp }} value is added to the list of tags after translation (deduplicated). Fails if timestamp is empty. Only pipelines referencing the check-labels task should set this to "true" | Yes | false |
47
+
| caCertPath | Path to CA certificate bundle for TLS verification with self-signed certificates | Yes | /mnt/trusted-ca/ca-bundle.crt |
0 commit comments