catalog/anthos-cluster/gke/nodepools/primary/node-iam.yaml [53:70]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
spec:
  memberFrom:
    serviceAccountRef:
      name: gke-example-us-east4-primary # kpt-set: gke-${cluster-name}-${nodepool-name}
      namespace: config-control # kpt-set: ${platform-namespace}
  resourceRef:
    apiVersion: resourcemanager.cnrm.cloud.google.com/v1beta1
    kind: Project
    external: project-id # kpt-set: ${project-id}
  role: roles/monitoring.metricWriter
---
# Allow kubelet/docker/containerd to read all artifacts/images in the project-id project
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicyMember
metadata: # kpt-merge: config-control/artifactreader-gke-example-us-east4-primary
  name: artifactreader-gke-example-us-east4-primary # kpt-set: artifactreader-gke-${cluster-name}-${nodepool-name}
  namespace: config-control # kpt-set: ${platform-namespace}
  annotations:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



catalog/gke/nodepools/primary/node-iam.yaml [53:70]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
spec:
  memberFrom:
    serviceAccountRef:
      name: gke-example-us-east4-primary # kpt-set: gke-${cluster-name}-${nodepool-name}
      namespace: config-control
  resourceRef:
    apiVersion: resourcemanager.cnrm.cloud.google.com/v1beta1
    kind: Project
    external: project-id # kpt-set: ${project-id}
  role: roles/monitoring.metricWriter
---
# Allow kubelet/docker/containerd to read all artifacts/images in the project-id project
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicyMember
metadata:
  name: artifactreader-gke-example-us-east4-primary # kpt-set: artifactreader-gke-${cluster-name}-${nodepool-name}
  namespace: config-control
  annotations:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



