- As documented in
Connecting vulnerability scanning to Supply Chain Security Tools - Store, secret
app-tls-cert
is used by scanner to communicate with SCST - Store in the Full profile cluster (Single Cluster). Therefore, in a Multicluster environment, secret
app-tls-cert
is not supposed to present or be used to configure a POD, instead the
ingress-cert
of SCST - Store in the view cluster is used.
- Users are asked to follow
Multicluster setup for Supply Chain Security Tools - Store to perform below four step to complete the Multicluster scanner configuration.
- Copy SCST - Store CA certificate from the View cluster.
- Copy SCST - Store authentication token from the View cluster.
- Apply the CA certificate and authentication token to the Kubernetes cluster where you intend to install the Build profile.
- Install the Build profile.
- In the Step#4, if correctly configured,
store-auth-token and
store-ca-cert SecretImports will be created when creating the
grype package. Once grype package is deployed correctly, secret "app-tls-cert" will not be asked to create the scan job pod and issue should be gone.
| Namespace Name Kind Age Op Op st. Wait to Rs Ri
| sky blob-source-scan-template ScanTemplate - create - reconcile - -
| ^ grype-scanner ServiceAccount - create - reconcile - -
| ^ private-image-scan-template ScanTemplate - create - reconcile - -
| ^ public-image-scan-template ScanTemplate - create - reconcile - -
| ^ public-source-scan-template ScanTemplate - create - reconcile - -
| ^ scanner-secret-ref Secret - create - reconcile - -
| ^ store-auth-token SecretImport - create - reconcile - -
| ^ store-ca-cert SecretImport - create - reconcile - -
| Op: 8 create, 0 delete, 0 update, 0 noop, 0 exists
| Wait to: 8 reconcile, 0 delete, 0 noop