-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from cloudogu/feature/vault
Vault and External Secrets Operator integration
- Loading branch information
Showing
109 changed files
with
9,081 additions
and
3,435 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
apiVersion: v2 | ||
version: 10.0.1 | ||
version: 13.2.21 | ||
name: nginx | ||
dependencies: | ||
- name: nginx | ||
version: 10.0.1 | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 13.2.21 | ||
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
nginx: | ||
service: | ||
port: 80 | ||
ports: | ||
http: 80 | ||
nodePorts: | ||
http: 30026 |
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
17 changes: 17 additions & 0 deletions
17
applications/nginx/argocd/helm-jenkins/k8s/production/external-secret.yaml
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,17 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: nginx-helm-jenkins | ||
spec: | ||
refreshInterval: "5s" | ||
secretStoreRef: | ||
name: vault-backend | ||
kind: SecretStore | ||
target: | ||
# Name of secret to be created | ||
name: nginx-helm-jenkins | ||
data: | ||
- secretKey: some-secret # Key within target secret | ||
remoteRef: | ||
key: secret/production/nginx-helm-jenkins | ||
property: example |
17 changes: 17 additions & 0 deletions
17
applications/nginx/argocd/helm-jenkins/k8s/staging/external-secret.yaml
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,17 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: nginx-helm-jenkins | ||
spec: | ||
refreshInterval: "5s" | ||
secretStoreRef: | ||
name: vault-backend | ||
kind: SecretStore | ||
target: | ||
# Name of secret to be created | ||
name: nginx-helm-jenkins | ||
data: | ||
- secretKey: some-secret # Key within target secret | ||
remoteRef: | ||
key: secret/staging/nginx-helm-jenkins | ||
property: example |
3 changes: 1 addition & 2 deletions
3
applications/nginx/argocd/helm-jenkins/k8s/values-production.yaml
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#namespace: argocd-production | ||
namespaceOverride: argocd-production | ||
service: | ||
port: 80 | ||
nodePorts: | ||
http: 30025 |
25 changes: 24 additions & 1 deletion
25
applications/nginx/argocd/helm-jenkins/k8s/values-shared.yaml
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 |
---|---|---|
@@ -1 +1,24 @@ | ||
staticSiteConfigmap: index-nginx | ||
service: | ||
ports: | ||
http: 80 | ||
# We don't use staticSiteConfigmap, so this is extensible for our secret example. See ArgoCD.groovy | ||
extraVolumes: | ||
- name: index | ||
configMap: | ||
name: index-nginx | ||
items: | ||
- key: index.html | ||
path: index.html | ||
- name: secret | ||
secret: | ||
secretName: nginx-helm-jenkins | ||
items: | ||
- key: some-secret | ||
path: index.html | ||
extraVolumeMounts: | ||
- name: index | ||
mountPath: /app | ||
readOnly: true | ||
- name: secret | ||
mountPath: /app/secret | ||
readOnly: true |
3 changes: 1 addition & 2 deletions
3
applications/nginx/argocd/helm-jenkins/k8s/values-staging.yaml
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#namespace: argocd-staging | ||
namespaceOverride: argocd-staging | ||
service: | ||
port: 80 | ||
nodePorts: | ||
http: 30024 |
Oops, something went wrong.