-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Generate helm chart * Fix generator test * Fix github actions related to make
- Loading branch information
Showing
14 changed files
with
431 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%: | ||
mkdir -p bin && test -f ./bin/task || (cd bin ; curl -Ls https://github.com/go-task/task/releases/download/v3.13.0/task_linux_amd64.tar.gz | tar -xz task) | ||
|
||
PATH=./bin:$(PATH) ./bin/task $@ |
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,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/ |
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,15 @@ | ||
apiVersion: v2 | ||
name: Trousseau | ||
description: A Helm chart for Trousseau, an open-source project leveraging the Kubernetes KMS provider framework to connect with Key Management Services the Kubernetes native way! | ||
type: application | ||
version: 0.0.1 | ||
appVersion: "2.0.0" | ||
keywords: | ||
- secret | ||
- kms | ||
- envelop encryption | ||
- encryption at rest | ||
home: https://trousseau.io | ||
icon: https://www.ondat.io/hs-fs/hubfs/signature-mono.png | ||
sources: | ||
- https://github.com/ondat/trousseau |
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,10 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: trousseau-awskms-config | ||
namespace: {{ .Values.namespace }} | ||
labels: | ||
{{- toYaml .Values.commonLabels | nindent 4 }} | ||
data: | ||
config.yaml: | | ||
{{ .Files.Get .Values.awskms.configPath | indent 2 }} |
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,47 @@ | ||
{{- if .Values.vault.withConfigGenerator -}} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: trousseau-vault-agent-config | ||
namespace: {{ .Values.namespace }} | ||
labels: | ||
{{- toYaml .Values.commonLabels | nindent 4 }} | ||
data: | ||
vault-agent-config.hcl: | | ||
exit_after_auth = true | ||
pid_file = "/home/vault/pidfile" | ||
auto_auth { | ||
method "kubernetes" { | ||
mount_path = "auth/kubernetes" | ||
config = { | ||
role = "trousseau" | ||
} | ||
} | ||
sink "file" { | ||
config = { | ||
path = "/home/vault/.vault-token" | ||
} | ||
} | ||
} | ||
template { | ||
destination = "{{ .Values.vault.configPath }}" | ||
contents = <<EOT | ||
{{ "{{" }}- with secret "secret/data/trousseau/config" {{ "}}" }} | ||
--- | ||
keyNames: | ||
- {{ "{{" }} .Data.data.transitkeyname {{ "}}" }} | ||
address: {{ "{{" }} .Data.data.vaultaddress {{ "}}" }} | ||
token: {{ "{{" }} .Data.data.vaulttoken {{ "}}" }} | ||
# clientCert: {{ "{{" }} .Data.data.clientcert {{ "}}" }} | ||
# clientKey: {{ "{{" }} .Data.data.clientkey {{ "}}" }} | ||
# roleID: {{ "{{" }} .Data.data.roleid {{ "}}" }} | ||
# secretID: {{ "{{" }} .Data.data.secretid {{ "}}" }} | ||
# vaultCACert: {{ "{{" }} .Data.data.vaultcacert {{ "}}" }} | ||
# tlsServerName: {{ "{{" }} .Data.data.tlsservername {{ "}}" }} | ||
# transitPath: {{ "{{" }} .Data.data.transitpath {{ "}}" }} | ||
# authPath: {{ "{{" }} .Data.data.authpath {{ "}}" }} | ||
{{ "{{" }} end {{ "}}" }} | ||
EOT | ||
} | ||
{{- end }} |
Oops, something went wrong.