mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-19 12:34:44 -04:00
Add helm unittests (#380)
This commit is contained in:
parent
3933a97567
commit
30bdbd9b85
68 changed files with 1217 additions and 105 deletions
|
@ -1,4 +1,4 @@
|
|||
{{ if eq .Values.csp "AWS" }}
|
||||
{{- if eq .Values.csp "AWS" -}}
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
|
@ -60,4 +60,4 @@ spec:
|
|||
hostPath:
|
||||
path: /etc/pki
|
||||
updateStrategy: {}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ if eq .Values.csp "Azure" }}
|
||||
{{- if eq .Values.csp "Azure" -}}
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
|
@ -70,4 +70,4 @@ spec:
|
|||
secret:
|
||||
secretName: azureconfig
|
||||
updateStrategy: {}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ if eq .Values.csp "Azure" }}
|
||||
{{- if eq .Values.csp "Azure" -}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
@ -6,4 +6,4 @@ metadata:
|
|||
namespace: {{ .Release.Namespace }}
|
||||
data:
|
||||
azure.json: {{ .Values.Azure.azureConfig | b64enc }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ if eq .Values.csp "GCP" }}
|
||||
{{- if eq .Values.csp "GCP" -}}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
|
@ -6,4 +6,4 @@ metadata:
|
|||
namespace: {{ .Release.Namespace }}
|
||||
data:
|
||||
gce.conf: "[global]\nproject-id = {{.Values.GCP.projectID }}\nuse-metadata-server = true\nnode-tags = constellation-{{ .Values.GCP.uid }}\n"
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ if eq .Values.csp "GCP" }}
|
||||
{{- if eq .Values.csp "GCP" -}}
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
|
@ -81,4 +81,4 @@ spec:
|
|||
secret:
|
||||
secretName: gcekey
|
||||
updateStrategy: {}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ if eq .Values.csp "GCP" }}
|
||||
{{- if eq .Values.csp "GCP" -}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
@ -6,4 +6,4 @@ metadata:
|
|||
namespace: {{ .Release.Namespace }}
|
||||
data:
|
||||
key.json: {{ .Values.GCP.secretData | b64enc }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -10,7 +10,7 @@ data:
|
|||
{{- if eq .Values.csp "Azure" }}
|
||||
# ConfigMap.data is of type map[string]string. quote will not quote a quoted string.
|
||||
enforceIdKeyDigest: {{ .Values.enforceIdKeyDigest | quote }}
|
||||
idkeydigest: {{ .Values.idkeydigest }}
|
||||
idkeydigest: {{ .Values.idkeydigest | quote }}
|
||||
{{- end }}
|
||||
binaryData:
|
||||
measurementSalt: {{ .Values.measurementSalt }}
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
"image": {
|
||||
"description": "Container image to use for the spawned pods.",
|
||||
"type": "string",
|
||||
"examples": ["ghcr.io/edgelesssys/constellation/join-service:latest"],
|
||||
"pattern": "ghcr.io/edgelesssys/constellation/join-service:.+"
|
||||
"examples": ["ghcr.io/edgelesssys/constellation/join-service:latest"]
|
||||
},
|
||||
"measurementSalt": {
|
||||
"description": "Salt used to generate node measurements",
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
"image": {
|
||||
"description": "Container image to use for the spawned pods.",
|
||||
"type": "string",
|
||||
"examples": ["ghcr.io/edgelesssys/constellation/kms:latest"],
|
||||
"pattern": "ghcr.io/edgelesssys/constellation/kms:*"
|
||||
"examples": ["ghcr.io/edgelesssys/constellation/kms:latest"]
|
||||
},
|
||||
"masterSecret": {
|
||||
"description": "Secret used to derive key material within the cluster",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue