-- empty.yaml --
---
apiVersion: v1
kind: Service
metadata:
  name: grafana
  namespace: monitoring
  labels:
    helm.sh/chart: grafana-6.50.7
    app.kubernetes.io/name: grafana
    app.kubernetes.io/instance: grafana
    app.kubernetes.io/version: "9.3.6"
    app.kubernetes.io/managed-by: Helm
spec:
  type: ClusterIP
  ports:
    - name: service
      port: 80
      protocol: TCP
      targetPort: 3000
  selector:
    app.kubernetes.io/name: grafana
    app.kubernetes.io/instance: grafana

---

---
# this is just a comment
--- # can this work
apiVersion: v1
data:
  _example: |
    ################################
    #                              #
    #    EXAMPLE CONFIGURATION     #
    #                              #
    ################################
    # This is an example config file highlighting the most common options.
    # this is particularly annoying as --- is kind of important in YAML.
    # ---------------------------------------
    # Settings Category
    # ---------------------------------------
    # some settings here
    bla: "48h"
    blabla: true
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/component: controller
    app.kubernetes.io/name: thename
    app.kubernetes.io/version: 1.8.0
  name: config---gc  # Oh you don't want that
  namespace: thenamespace
---

---
---
apiVersion: v1
data:
  _example: |
    # Skip line two as whitespace.
    line one

    line three
kind: ConfigMap
metadata:
  name: config-with-multiline-string-space
  namespace: thenamespace
