Skip to content

Commit

Permalink
chore: cleanup Makefile targers (#627)
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Fernandez <hectorf@vmware.com>
  • Loading branch information
Hector Fernandez committed Sep 6, 2021
1 parent 5abd51e commit de600d2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,3 @@ cosigned-sign-container-cloudbuild: cosigned-docker-cloudbuild
docker push gcr.io/${PROJECT_ID}/cosigned:$(GIT_TAG)
cosign sign -key gcpkms://projects/${PROJECT_ID}/locations/${KEY_LOCATION}/keyRings/${KEY_RING}/cryptoKeys/${KEY_NAME}/versions/${KEY_VERSION} -a GIT_HASH=$(GIT_HASH) gcr.io/${PROJECT_ID}/cosigned:$(GIT_HASH)
cosign sign -key gcpkms://projects/${PROJECT_ID}/locations/${KEY_LOCATION}/keyRings/${KEY_RING}/cryptoKeys/${KEY_NAME}/versions/${KEY_VERSION} -a GIT_TAG=$(GIT_TAG) gcr.io/${PROJECT_ID}/cosigned:$(GIT_TAG)

uninstall-cosigned: manifests
helm delete cosigned -n cosigned

# Install cosigned webhook in the configured Kubernetes cluster in ~/.kube/config
install-cosigned: cosigned
helm install cosigned -n cosigned chart/cosigned --replace --set webhook.secretKeyRef.name=k8s://cosigned/mysecret --create-namespace

0 comments on commit de600d2

Please sign in to comment.