Skip to content

Commit caccb90

Browse files
authored
Update Cloud SQL sample app yaml with comments. (GoogleCloudPlatform#6402)
1 parent 3c3cb14 commit caccb90

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

cloud-sql/mysql/servlet/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ spec:
2626
labels:
2727
app: gke-cloud-sql-app
2828
spec:
29-
serviceAccountName: <YOUR-KSA-NAME>
29+
# For more information about using Kubernetes service accounts see:
30+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts
31+
serviceAccountName: <YOUR-KSA-NAME> # TODO(developer): replace this value.
3032
containers:
3133
- name: gke-cloud-sql-app
3234
# Replace <LOCATION> with your Artifact Registry location (e.g., us-central1).

cloud-sql/mysql/servlet/service-account.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@
1616
apiVersion: v1
1717
kind: ServiceAccount
1818
metadata:
19+
# For more information about using Kubernetes service accounts see:
20+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts
1921
name: <YOUR-KSA-NAME> # TODO(developer): replace this value.
2022
# [END cloud_sql_mysql_java_gke_quickstart_sa]

cloud-sql/postgres/servlet/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ spec:
2626
labels:
2727
app: gke-cloud-sql-app
2828
spec:
29-
serviceAccountName: <YOUR-KSA-NAME>
29+
# For more information about using Kubernetes service accounts see:
30+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts
31+
serviceAccountName: <YOUR-KSA-NAME> # TODO(developer): replace this value.
3032
containers:
3133
- name: gke-cloud-sql-app
3234
# Replace <LOCATION> with your Artifact Registry location (e.g., us-central1).

cloud-sql/postgres/servlet/servcie-account.yaml renamed to cloud-sql/postgres/servlet/service-account.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@
1616
apiVersion: v1
1717
kind: ServiceAccount
1818
metadata:
19+
# For more information about using Kubernetes service accounts see:
20+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts
1921
name: <YOUR-KSA-NAME> # TODO(developer): replace this value.
2022
# [END cloud_sql_postgres_java_gke_quickstart_sa]

0 commit comments

Comments
 (0)