Skip to content

Commit

Permalink
Add signadot/workspaces chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
enisoc committed Jun 25, 2021
1 parent 5e49f0d commit ae2d028
Show file tree
Hide file tree
Showing 8 changed files with 835 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Signadot Helm Chart Repository
1 change: 1 addition & 0 deletions signadot/workspaces/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.swp
23 changes: 23 additions & 0 deletions signadot/workspaces/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
15 changes: 15 additions & 0 deletions signadot/workspaces/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v2
name: workspaces
description: In-cluster components for Signadot Workspaces
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.5.4"
37 changes: 37 additions & 0 deletions signadot/workspaces/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Signadot Workspaces

This chart installs the in-cluster components for Signadot Workspaces.

## Prerequisites

Please [install cert-manager](https://cert-manager.io/docs/installation/kubernetes/)
first if it's not already installed in the cluster.
This chart relies on cert-manager to generate the certificate for its admission webhook.

## Installation

```sh
# Install
helm repo add signadot https://charts.signadot.com
helm install signadot-workspaces signadot/workspaces

# Upgrade
helm repo update
helm upgrade signadot-workspaces signadot/workspaces

# Uninstall
helm uninstall signadot-workspaces
```

## Cluster Registration

In addition to installing this chart, the cluster must also be registered
in the [Signadot Workspaces console](https://app.signadot.com).

After generating a cluster token, complete the registration by populating a Secret
called `cluster-agent` in the `signadot` namespace:

```sh
# Replace "..." with the token value.
kubectl -n signadot create secret generic cluster-agent --from-literal=token=...
```
7 changes: 7 additions & 0 deletions signadot/workspaces/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Please visit https://app.signadot.com to register this cluster and create a cluster token.

Then populate the cluster token in a Secret by running the following command
with "..." replaced by the token value.

kubectl -n signadot create secret generic cluster-agent --from-literal=token=...

Loading

0 comments on commit ae2d028

Please sign in to comment.