No description
Find a file
2024-12-09 14:28:24 +01:00
fulcio-rekor-rollout@5514c378fd sync 2024-12-09 14:28:24 +01:00
.gitignore make image mirror (untested for now) 2024-06-04 15:20:33 +02:00
.gitmodules cleanup 2024-09-11 11:57:24 +02:00
Dockerfile new cosign 2024-12-09 14:16:31 +01:00
ExampleResourceQuotas.yaml Complete rewrite: switch to helm and ingress. First version! 2024-03-12 15:11:32 +01:00
fulcio-rekor-rollout-values.yaml change name and namespace 2024-09-11 15:56:40 +02:00
kustomization.yaml change name and namespace 2024-09-11 15:56:40 +02:00
LICENSE first final one 2024-09-11 14:56:15 +02:00
Readme.md Rollout 2024-09-11 15:10:25 +02:00
route-fulcio.yaml incorporate small changes from disconnected openshift installation 2024-06-04 17:44:56 +02:00
route-rekor.yaml incorporate small changes from disconnected openshift installation 2024-06-04 17:44:56 +02:00

Rollout in cluster

Edit configs

  • kustomization.yaml
  • fulcio-rekor-rollout.yaml
  • route-*.yaml if needed

Rollout

  • helm repo add sigstore https://sigstore.github.io/helm-charts
  • helm dependency build fulcio-rekor-rollout/fulcio-rekor-rollout/
  • Wait for completion of the rollout
  • If you have rolled out keycloak please install the realm and the client with:
    ./fulcio-rekor-rollout/keycloak/create-initial-keycloak-config.sh
  • otherwise create a client in your Keycloak / Dex / Other Idp: like in ./fulcio-rekor-rollout/keycloak/kc-client-definition-sigstore-dev.json
  • Add Users to your Keycloak instance or make an LDAP bind with your Active Directory

Get config

Use the script ./fulcio-rekor-rollout/get-config-helm-edition.sh to get the config and some example scripts for signing and verify.

Minimal first step docker container

There's a Dockerfile here for a minimal automation support

Build the container with:
podman build -t reg.pflaeging.net/brz/cosign-executor:latest .
(docker build works also)

Run it with: podman run --name cosign --rm -ti --volume $PWD:/data reg.pflaeging.net/brz/cosign-executor:latest bash

If you're inside the container try:

# go to the generated dir in the container
cd /data/mynamespace.testrollouts.configs
# login to your registry
podman login -u myusername registry.my.org
# sign image
./sign-image.sh registry.my.org/myproject/mycontainer:v1.0
# You get an URL: Paste it in your browser and login. 
# - You will get a verification code back
# - Paste this verification code here and press enter
# You should get a signed image
#