catalog/anthos-cluster/gke/nodepools/primary/node-iam.yaml [34:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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/logging.logWriter
---
# Allow fluentd to send metrics to StackDriver
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicyMember
metadata: # kpt-merge: config-control/metricwriter-gke-example-us-east4-primary
  name: metricwriter-gke-example-us-east4-primary # kpt-set: metricwriter-gke-${cluster-name}-${nodepool-name}
  namespace: config-control # kpt-set: ${platform-namespace}
  annotations:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



catalog/gke/nodepools/primary/node-iam.yaml [34:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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/logging.logWriter
---
# Allow fluentd to send metrics to StackDriver
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicyMember
metadata:
  name: metricwriter-gke-example-us-east4-primary # kpt-set: metricwriter-gke-${cluster-name}-${nodepool-name}
  namespace: config-control
  annotations:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



