Comments (3)
We are using helm plugin certgen to create tls secrets.
For AttestatoionAuthority we can write a controller to create a secret if it does not exits.
The sample code is https://github.com/tejal29/kritis/blob/attestation_lib/pkg/kritis/attestation/attestation_test.go#L59
from kritis.
The flow would be,
For the given AttestationAuthority:
apiVersion: kritis.grafeas.io/v1beta1
kind: AttestationAuthority
metadata:
name: qa-attestor
spec:
noteReference: v1alpha1/projects/image-signing
privateKeySecretName: foo
- Check if the secret "foo" exists in the given namesapce.
- If it does not exist,
a. The controller will generate the private and public key pair.
b. Create a Kubernetes Secret ( See https://github.com/kubernetes/sample-controller/blob/master/controller.go#L389 code for reference)
c. Update the AttestationAuthority with generated public key.
( There is also some sample code on how to update a KO in the above repo) - If the secret exists, do nothing :)
from kritis.
This is handled by the preinstall pod now: #124. closing
from kritis.
Related Issues (20)
- Create a guide for contributions to documentation
- Generate keyID automatically for PKIX and JWT keys
- Move cryptolib into pkg/ directory
- Add doc for signer
- Helm install fails on k8s v1.19 HOT 11
- signer does not timeout waiting for the container analysis of an image
- Automated check and sign on completion of an analysis of an image in GCR HOT 7
- about 1) “ALL attestation authorities to be satisfied” , why not “any attestation authority to be satisfied” ? HOT 1
- kubectl cmd from kritis preinstall auth failure HOT 1
- v0.2.2 nil pointer dereference HOT 6
- make setup-integration-local does not create kritis-ca-admin service account
- setup-containeranalysis-resources.sh fails
- More use cases than scanning for known vulnerabilities HOT 2
- Container Analysis API need to be enabled wherever the Service Account is hosted HOT 4
- Error running GCP tutorial "Creating attestations with Kritis Signer"
- Kritis-Signer don't allow to use Artifact Registry repositories. HOT 3
- official container images from grafeas / Kritis
- Pull kritis signer policy yaml from external storage
- Installation Failed in k8s v1.27
- No Longer Maintained HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kritis.