mirror of https://github.com/helm/helm
parent
9364bfc5ed
commit
651b4b14cf
@ -0,0 +1,131 @@
|
||||
NAME: with-secrets
|
||||
LAST DEPLOYED: Fri Sep 2 22:04:05 1977
|
||||
NAMESPACE: default
|
||||
STATUS: deployed
|
||||
REVISION: 1
|
||||
TEST SUITE: None
|
||||
USER-SUPPLIED VALUES:
|
||||
{}
|
||||
|
||||
COMPUTED VALUES:
|
||||
{}
|
||||
|
||||
HOOKS:
|
||||
MANIFEST:
|
||||
---
|
||||
# Source: secrets-test/templates/serviceaccount.yaml
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: build-robot
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: secret-sample
|
||||
data:
|
||||
test: '[HIDDEN]'
|
||||
password: '[HIDDEN]'
|
||||
complex.key: '[HIDDEN]'
|
||||
fromFile.json: '[HIDDEN]'
|
||||
stringData:
|
||||
string: '[HIDDEN]'
|
||||
string.complex: '[HIDDEN]'
|
||||
stringFile.json: '[HIDDEN]'
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: empty-secret
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: empty-data-secret
|
||||
data:
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: different-indent-secret
|
||||
data:
|
||||
password: '[HIDDEN]'
|
||||
stringData:
|
||||
stringPassword: '[HIDDEN]'
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
# This is name
|
||||
name: secret-with-comments
|
||||
data:
|
||||
# Comment
|
||||
password: '[HIDDEN]'
|
||||
# Multi
|
||||
# Line
|
||||
# Comment
|
||||
anotherPassword: '[HIDDEN]' # Inline comment
|
||||
# End comment
|
||||
stringData: # Contains string data
|
||||
stringPassword: '[HIDDEN]'
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
stringData:
|
||||
stringPassword: '[HIDDEN]'
|
||||
data:
|
||||
password: '[HIDDEN]'
|
||||
metadata:
|
||||
name: different-order-secret
|
||||
---
|
||||
# Source: secrets-test/templates/configmap.yaml
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: game-config
|
||||
namespace: default
|
||||
data:
|
||||
secretData: abcd
|
||||
simple: value
|
||||
game.properties: |
|
||||
enemies=aliens
|
||||
lives=3
|
||||
file.json: |
|
||||
{
|
||||
"my-config-key": "my value",
|
||||
"age": 24,
|
||||
"array": ["value", "value2"],
|
||||
"object": {
|
||||
"key": "value"
|
||||
}
|
||||
}
|
||||
---
|
||||
# Source: secrets-test/templates/deployment.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:1.14.2
|
||||
ports:
|
||||
- containerPort: 80
|
||||
|
@ -0,0 +1,116 @@
|
||||
---
|
||||
# Source: secrets-test/templates/serviceaccount.yaml
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: build-robot
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: secret-sample
|
||||
data:
|
||||
test: '[HIDDEN]'
|
||||
password: '[HIDDEN]'
|
||||
complex.key: '[HIDDEN]'
|
||||
fromFile.json: '[HIDDEN]'
|
||||
stringData:
|
||||
string: '[HIDDEN]'
|
||||
string.complex: '[HIDDEN]'
|
||||
stringFile.json: '[HIDDEN]'
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: empty-secret
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: empty-data-secret
|
||||
data:
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: different-indent-secret
|
||||
data:
|
||||
password: '[HIDDEN]'
|
||||
stringData:
|
||||
stringPassword: '[HIDDEN]'
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
# This is name
|
||||
name: secret-with-comments
|
||||
data:
|
||||
# Comment
|
||||
password: '[HIDDEN]'
|
||||
# Multi
|
||||
# Line
|
||||
# Comment
|
||||
anotherPassword: '[HIDDEN]' # Inline comment
|
||||
# End comment
|
||||
stringData: # Contains string data
|
||||
stringPassword: '[HIDDEN]'
|
||||
---
|
||||
# Source: secrets-test/templates/secrets.yaml
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
stringData:
|
||||
stringPassword: '[HIDDEN]'
|
||||
data:
|
||||
password: '[HIDDEN]'
|
||||
metadata:
|
||||
name: different-order-secret
|
||||
---
|
||||
# Source: secrets-test/templates/configmap.yaml
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: game-config
|
||||
namespace: default
|
||||
data:
|
||||
secretData: abcd
|
||||
simple: value
|
||||
game.properties: |
|
||||
enemies=aliens
|
||||
lives=3
|
||||
file.json: |
|
||||
{
|
||||
"my-config-key": "my value",
|
||||
"age": 24,
|
||||
"array": ["value", "value2"],
|
||||
"object": {
|
||||
"key": "value"
|
||||
}
|
||||
}
|
||||
---
|
||||
# Source: secrets-test/templates/deployment.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:1.14.2
|
||||
ports:
|
||||
- containerPort: 80
|
@ -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/
|
@ -0,0 +1,21 @@
|
||||
apiVersion: v2
|
||||
name: secrets-test
|
||||
description: A Helm chart for Kubernetes
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||
# to be deployed.
|
||||
#
|
||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||
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.
|
||||
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 and it is recommended to use it with quotes.
|
||||
appVersion: "1.16.0"
|
@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: game-config
|
||||
namespace: default
|
||||
data:
|
||||
secretData: abcd
|
||||
simple: value
|
||||
game.properties: |
|
||||
enemies=aliens
|
||||
lives=3
|
||||
file.json: |
|
||||
{
|
||||
"my-config-key": "my value",
|
||||
"age": 24,
|
||||
"array": ["value", "value2"],
|
||||
"object": {
|
||||
"key": "value"
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:1.14.2
|
||||
ports:
|
||||
- containerPort: 80
|
@ -0,0 +1,72 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: secret-sample
|
||||
data:
|
||||
test: YmFyCg==
|
||||
password: bXktcGFzc3dvcmQ=
|
||||
complex.key: Y29tcGxleAo=
|
||||
fromFile.json: |
|
||||
ewogICJteS1jb25maWcta2V5IjogIm15IHZhbHVlIiwgCiAgImFnZSI6IDI0LAogICJhcnJheSI6IFsidmFsdWUiLCAidmFsdWUyIl0sCiAgIm9iamVjdCI6IHsKICAgICJrZXkiOiAidmFsdWUiCiAgfQp9Cg==
|
||||
stringData:
|
||||
string: super-secret
|
||||
string.complex: complex
|
||||
stringFile.json: |
|
||||
{
|
||||
"my-config-key": "my value",
|
||||
"age": 24,
|
||||
"array": ["value", "value2"],
|
||||
"object": {
|
||||
"key": "value"
|
||||
}
|
||||
}
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: empty-secret
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: empty-data-secret
|
||||
data:
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: different-indent-secret
|
||||
data:
|
||||
password: cGFzc3dvcmQK
|
||||
stringData:
|
||||
stringPassword: password
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
# This is name
|
||||
name: secret-with-comments
|
||||
data:
|
||||
# Comment
|
||||
password: cGFzc3dvcmQK
|
||||
# Multi
|
||||
# Line
|
||||
# Comment
|
||||
anotherPassword: cGFzc3dvcmQK # Inline comment
|
||||
# End comment
|
||||
stringData: # Contains string data
|
||||
stringPassword: password
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
stringData:
|
||||
stringPassword: password
|
||||
data:
|
||||
password: cGFzc3dvcmQK
|
||||
metadata:
|
||||
name: different-order-secret
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: build-robot
|
Loading…
Reference in new issue