apiVersion: builtin
kind: NamespaceTransformer
metadata:
  name: namespace-patch
  annotations:
    config.kubernetes.io/local-config: "true"
  namespace: gitlab-agent # kpt-set: ${namespace}
fieldSpecs:
- create: true
  path: metadata/namespace
- kind: RoleBinding
  create: true
  group: rbac.authorization.k8s.io
  path: subjects
- kind: ClusterRoleBinding
  create: true
  group: rbac.authorization.k8s.io
  path: subjects
