diff --git a/charts/ratify/templates/verifier.yaml b/charts/ratify/templates/verifier.yaml index 8942330c1..367b7a124 100644 --- a/charts/ratify/templates/verifier.yaml +++ b/charts/ratify/templates/verifier.yaml @@ -66,7 +66,7 @@ spec: - provider: kmprovider-akv {{- end }} {{- else }} - key: {{ .Values.cosign.key | quote }} + key: /usr/local/ratify-certs/cosign/cosign.pub {{- end }} {{- end }} --- diff --git a/pkg/controllers/utils/verifier.go b/pkg/controllers/utils/verifier.go index 2dfe5b2d6..33a26aa64 100644 --- a/pkg/controllers/utils/verifier.go +++ b/pkg/controllers/utils/verifier.go @@ -38,8 +38,6 @@ func UpsertVerifier(version, address, namespace, objectName string, verifierConf logrus.Infof("Address was empty, setting to default path: %v", address) } - logrus.Infof("test verifier config: %+v", verifierConfig) - referenceVerifier, err := vf.CreateVerifierFromConfig(verifierConfig, version, []string{address}, namespace) if err != nil || referenceVerifier == nil { logrus.Error(err, " unable to create verifier from verifier config")