-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
169 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Quick Start with Sigstore Public OIDC Issuer | ||
|
||
1. Use the installer's `install` command to install the required signing keys and root certificate for keyless signing and install the sigstore stack. | ||
|
||
To build the installer | ||
|
||
``` | ||
go build -C tas-installer -o ../tas-install | ||
``` | ||
|
||
The installer expects a `kubeconfig` file at `$HOME/.kube/config`,, or that the flag `--kubeconfig /path/to/kubeconfig` is provided. | ||
By default, the fulcio server is configured to use the upstream public OIDC issuer at `oauth2.sigstore.dev/auth`. An interactive browser | ||
based flow in which you will authenticate with Google, GitHub, or MicroSoft will be initiated when signing artifacts.. | ||
|
||
First, the user is prompted for information in order to create rekor and fulcio signing keys as well as the fulcio root certificate. | ||
Then, the Trusted Artifact Signer resources will be created. The stack is ready to use when all jobs have been completed. The job | ||
in the `tuf-system` namespace will be the last to complete, and can take several minutes. | ||
|
||
```shell | ||
./tas-install install | ||
``` | ||
|
||
Watch `oc get jobs -A` and when the `tuf-system` job is complete, the TAS stack should be ready to sign & verify artifacts. | ||
|
||
Once complete, move to the [Sign & Verify document](sign-verify.md) to test the Sigstore stack. | ||
|
||
If there is already a helm release `trusted-artifact-signer` installed, the command `./tas-install install` will perform an upgrade. | ||
In this case, it will reuse the signing keys and certificate secrets from the connected cluster's `fulcio-system` and `rekor-system` | ||
namespaces. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
## Trusted Artifact Signer Installer | ||
|
||
The `tas-install` command is experimental. To build it, run the following from the repository root. | ||
|
||
``` | ||
go build -C tas-installer -o ../tas-install | ||
``` | ||
|
||
### Install | ||
|
||
``` | ||
$ ./tas-install install -h | ||
Installs Trusted Artifact Signer (TAS) on a Kubernetes cluster. | ||
This command performs a series of actions: | ||
1. Initializes the Kubernetes client to interact with your cluster | ||
2. Sets up necessary certificates | ||
3. Configures secrets | ||
4. Deploys TAS to openshift | ||
Usage: | ||
tas-installer install [flags] | ||
Flags: | ||
--chart-location string /local/path/to/chart or oci://registry/repo location of Helm chart (default "./charts/trusted-artifact-signer") | ||
--chart-version string Version of the Helm chart (default "0.1.29") | ||
-h, --help help for install | ||
--oidc-client-id string Specify the OIDC client ID | ||
--oidc-issuer-url string Specify the OIDC issuer URL e.g for keycloak: https://[keycloak-domain]/auth/realms/[realm-name] | ||
--oidc-type string Specify the OIDC type | ||
--values string path to custom values file for chart configuration | ||
Global Flags: | ||
--kubeconfig string Specify the kubeconfig path (default "$HOME/.kube/config") | ||
``` | ||
|
||
### Uninstall | ||
|
||
``` | ||
$ ./tas-install uninstall -h | ||
Removes installation of Trusted Artifact Signer (TAS) on a Kubernetes cluster. | ||
Usage: | ||
tas-installer uninstall [flags] | ||
Flags: | ||
-h, --help help for uninstall | ||
Global Flags: | ||
--kubeconfig string Specify the kubeconfig path (default "$HOME/.kube/config") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters