File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed
acm-terraform-blog-part2/config-root Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ Subsequent articles will discuss other aspects of ACM to manage your GCP infrast
6363 kubectl proxy --port 8888 &
6464
6565 # curl or use the browser
66- curl http://127.0.0.1:8888/api/v1/namespaces/default /services/wordpress/proxy/wp-admin/install.php
66+ curl http://127.0.0.1:8888/api/v1/namespaces/wp /services/wordpress/proxy/wp-admin/install.php
6767
6868 ```
6969
Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14-
14+ apiVersion : v1
15+ kind : Namespace
16+ metadata :
17+ name : wp
18+ ---
1519apiVersion : v1
1620kind : ConfigMap
1721metadata :
22+ namespace : wp
1823 name : wp-config
1924data :
2025 # ## We're using a ConfigMap for simplicity, but in real life one should
2429apiVersion : v1
2530kind : Service
2631metadata :
32+ namespace : wp
2733 name : wordpress-mysql
2834 labels :
2935 app : wordpress
3844apiVersion : v1
3945kind : PersistentVolumeClaim
4046metadata :
47+ namespace : wp
4148 name : mysql-pvc
4249 labels :
4350 app : wordpress
5158apiVersion : apps/v1
5259kind : Deployment
5360metadata :
61+ namespace : wp
5462 name : wordpress-mysql
5563 labels :
5664 app : wordpress
9098apiVersion : v1
9199kind : Service
92100metadata :
101+ namespace : wp
93102 name : wordpress
94103 labels :
95104 app : wordpress
@@ -103,6 +112,7 @@ spec:
103112apiVersion : v1
104113kind : PersistentVolumeClaim
105114metadata :
115+ namespace : wp
106116 name : wp-pvc
107117 labels :
108118 app : wordpress
@@ -116,6 +126,7 @@ spec:
116126apiVersion : apps/v1
117127kind : Deployment
118128metadata :
129+ namespace : wp
119130 name : wordpress
120131 labels :
121132 app : wordpress
Original file line number Diff line number Diff line change 1- # Copyright 2018 Google LLC
1+ # Copyright 2021 Google LLC
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14-
14+ apiVersion : v1
15+ kind : Namespace
16+ metadata :
17+ name : wp
18+ ---
1519apiVersion : v1
1620kind : ConfigMap
1721metadata :
22+ namespace : wp
1823 name : wp-config
1924data :
2025 # ## We're using a ConfigMap for simplicity, but in real life one should
2429apiVersion : v1
2530kind : Service
2631metadata :
32+ namespace : wp
2733 name : wordpress-mysql
2834 labels :
2935 app : wordpress
3844apiVersion : v1
3945kind : PersistentVolumeClaim
4046metadata :
47+ namespace : wp
4148 name : mysql-pvc
4249 labels :
4350 app : wordpress
5158apiVersion : apps/v1
5259kind : Deployment
5360metadata :
61+ namespace : wp
5462 name : wordpress-mysql
5563 labels :
5664 app : wordpress
9098apiVersion : v1
9199kind : Service
92100metadata :
101+ namespace : wp
93102 name : wordpress
94103 labels :
95104 app : wordpress
@@ -103,6 +112,7 @@ spec:
103112apiVersion : v1
104113kind : PersistentVolumeClaim
105114metadata :
115+ namespace : wp
106116 name : wp-pvc
107117 labels :
108118 app : wordpress
@@ -116,6 +126,7 @@ spec:
116126apiVersion : apps/v1
117127kind : Deployment
118128metadata :
129+ namespace : wp
119130 name : wordpress
120131 labels :
121132 app : wordpress
You can’t perform that action at this time.
0 commit comments