Skip to content
Snippets Groups Projects
Commit 518d9c85 authored by Martin's avatar Martin
Browse files

OZG-7121 add configmap

parent 4bddbeb9
No related branches found
No related tags found
1 merge request!3Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-bindings-type
namespace: {{ include "app.namespace" . }}
data:
type: |
ca-certificates
\ No newline at end of file
suite: configmap test
templates:
- templates/configmap.yaml
release:
name: release-name
namespace: helm-test
tests:
- it: should have apiVersion
asserts:
- isAPIVersion:
of: v1
- it: should have kind
asserts:
- isKind:
of: ConfigMap
- it: should have metadata
asserts:
- equal:
path: metadata.name
value: release-name-bindings-type
- equal:
path: metadata.namespace
value: helm-test
- it: should have data
asserts:
- equal:
path: data.type
value: ca-certificates
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment