apiVersion: v1
kind: List
items:

 # Setup the permission required to read the config map
 - apiVersion: v1
   kind: RoleBinding
   metadata:
     name: some-role
   subjects:
    - kind: ServiceAccount
      name: default
   roleRef:
      name: view

 # The content of the config map - must be kept in sync with the app-config.yml
 # Name must also match
 - apiVersion: v1
   kind: ConfigMap
   metadata:
     name: app-config
   data:
     application.properties: |-
       greeting.message=Hello %s from a ConfigMap!
apiVersion: v1
kind: List
items:
 # Setup the permission required to read the config map
 - apiVersion: v1
   kind: RoleBinding
   metadata:
     name: role-view-default
   subjects:
    - kind: ServiceAccount
      name: default
   roleRef:
      name: view

 - apiVersion: v1
   kind: RoleBinding
   metadata:
     name: role-view-jenkins
   subjects:
    - kind: ServiceAccount
      name: jenkins
   roleRef:
      name: view

 # ConfigMap to be created to pass application.properties content to Spring Boot
 - apiVersion: v1
   kind: ConfigMap
   metadata:
     name: app-config
   data:
     application.properties: |
       # This properties file should be used to initialise a ConfigMap
       greeting.message=Hello %s from a ConfigMap!

Add file to create configMap and rolebinding for default/jenkins sa
Add file to create configMap and rolebinding for default/jenkins sa
