Linting GKE NodePool changes
MODIFY
gcp-ts-gke-hello-world/index.ts
gcp-ts-gke-hello-world/index.ts
@@ -32,15 +32,15 @@ const nodePool = new gcp.container.NodePool(`primary-node-pool`, {
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
- "https://www.googleapis.com/auth/monitoring"
- ]
+ "https://www.googleapis.com/auth/monitoring",
+ ],
},
version: masterVersion,
management: {
autoRepair: true,
- }
+ },
}, {
- dependsOn: [cluster]
+ dependsOn: [cluster],
});
// Export the Cluster name
@@ -84,7 +84,7 @@ users:
const clusterProvider = new k8s.Provider(name, {
kubeconfig: kubeconfig,
}, {
- dependsOn: [nodePool]
+ dependsOn: [nodePool],
});
// Create a Kubernetes Namespace

MODIFY
gcp-ts-gke-serviceaccount/index.ts
gcp-ts-gke-serviceaccount/index.ts
@@ -49,15 +49,15 @@ const nodePool = new gcp.container.NodePool(`primary-node-pool`, {
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
- "https://www.googleapis.com/auth/monitoring"
- ]
+ "https://www.googleapis.com/auth/monitoring",
+ ],
},
version: masterVersion,
management: {
autoRepair: true,
- }
+ },
}, {
- dependsOn: [cluster]
+ dependsOn: [cluster],
});
// Export the Cluster name
@@ -99,7 +99,7 @@ users:
const clusterProvider = new k8s.Provider(name, {
kubeconfig: kubeconfig,
}, {
- dependsOn: [nodePool]
+ dependsOn: [nodePool],
});
const appLabels = {appClass: "pubsub"};

MODIFY
gcp-ts-gke/cluster.ts
gcp-ts-gke/cluster.ts
@@ -28,15 +28,15 @@ const nodePool = new gcp.container.NodePool(`primary-node-pool`, {
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
- "https://www.googleapis.com/auth/monitoring"
- ]
+ "https://www.googleapis.com/auth/monitoring",
+ ],
},
version: masterVersion,
management: {
autoRepair: true,
- }
+ },
}, {
- dependsOn: [k8sCluster]
+ dependsOn: [k8sCluster],
});
// Manufacture a GKE-style Kubeconfig. Note that this is slightly "different" because of the way GKE requires
@@ -76,5 +76,5 @@ users:
export const k8sProvider = new k8s.Provider("gkeK8s", {
kubeconfig: k8sConfig,
}, {
- dependsOn: [nodePool]
+ dependsOn: [nodePool],
});

MODIFY
kubernetes-ts-multicloud/gke.ts
kubernetes-ts-multicloud/gke.ts
@@ -57,15 +57,15 @@ export class GkeCluster extends pulumi.ComponentResource {
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
- "https://www.googleapis.com/auth/monitoring"
- ]
+ "https://www.googleapis.com/auth/monitoring",
+ ],
},
version: engineVersion,
management: {
autoRepair: true,
- }
+ },
}, {
- dependsOn: [k8sCluster]
+ dependsOn: [k8sCluster],
});
this.cluster = k8sCluster;
@@ -105,7 +105,7 @@ users:
// Export a Kubernetes provider instance that uses our cluster from above.
this.provider = new k8s.Provider("gke", {kubeconfig: k8sConfig}, {
parent: this,
- dependsOn: [nodePool]
+ dependsOn: [nodePool],
});
}
}

Linting GKE NodePool changes