apiVersion: v1
kind: Secret
metadata:
  name: base64-test-match
  labels:
    value: hello
type: Opaque
data:
  value: aGVsbG8=
---
apiVersion: v1
kind: Secret
metadata:
  name: base64-test-no-match
  labels:
    value: hello
type: Opaque
data:
  value: Z29vZGJ5ZQ==
---
apiVersion: v1
kind: Namespace
metadata:
  name: pattern-match-test-match
  labels:
    value: prefix-test
---
apiVersion: v1
kind: Namespace
metadata:
  name: pattern-match-test-no-match
  labels:
    value: test
---
apiVersion: v1
kind: Pod
metadata:
  name: mount-containerd-sock
spec:
  volumes:
  - name: test
    emptyDir: {}
  - name: sock
    hostPath:
      path: ///var/run/containerd///containerd.sock
  containers:
  - name: mount-containerd-sock
    image: nginx
    volumeMounts:
    - name: sock
      mountPath: /sock
    - name: test
      mountPath: /test 
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: valid-test
  annotations:
    test: |
      {"a": "b"}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: invalid-test
  annotations:
    test: |
      {"a": "not-b"}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: valid-yaml-test
  annotations:
    test: |
      value: a
      array:
        - a
        - b
        - c 
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: invalid-yaml-test
  annotations:
    test: |
      value: b
      array:
        - d
        - e
        - f

