apiVersion: v1 kind: Secret metadata: name: sample-generic-secret type: Opaque stringData: test1.txt: | This is a test file lets see if this works. test2.txt: | This is a second test file lets see if this works. --- apiVersion: v1 kind: ConfigMap metadata: name: sample-generic-configmap data: test1.txt: | This is a test file lets see if this works. test2.txt: | This is a second test file lets see if this works.