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
63
63
kubectl proxy --port 8888 &
64
64
65
65
# 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
67
67
68
68
```
69
69
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
-
14
+ apiVersion : v1
15
+ kind : Namespace
16
+ metadata :
17
+ name : wp
18
+ ---
15
19
apiVersion : v1
16
20
kind : ConfigMap
17
21
metadata :
22
+ namespace : wp
18
23
name : wp-config
19
24
data :
20
25
# ## We're using a ConfigMap for simplicity, but in real life one should
24
29
apiVersion : v1
25
30
kind : Service
26
31
metadata :
32
+ namespace : wp
27
33
name : wordpress-mysql
28
34
labels :
29
35
app : wordpress
38
44
apiVersion : v1
39
45
kind : PersistentVolumeClaim
40
46
metadata :
47
+ namespace : wp
41
48
name : mysql-pvc
42
49
labels :
43
50
app : wordpress
51
58
apiVersion : apps/v1
52
59
kind : Deployment
53
60
metadata :
61
+ namespace : wp
54
62
name : wordpress-mysql
55
63
labels :
56
64
app : wordpress
90
98
apiVersion : v1
91
99
kind : Service
92
100
metadata :
101
+ namespace : wp
93
102
name : wordpress
94
103
labels :
95
104
app : wordpress
@@ -103,6 +112,7 @@ spec:
103
112
apiVersion : v1
104
113
kind : PersistentVolumeClaim
105
114
metadata :
115
+ namespace : wp
106
116
name : wp-pvc
107
117
labels :
108
118
app : wordpress
@@ -116,6 +126,7 @@ spec:
116
126
apiVersion : apps/v1
117
127
kind : Deployment
118
128
metadata :
129
+ namespace : wp
119
130
name : wordpress
120
131
labels :
121
132
app : wordpress
Original file line number Diff line number Diff line change 1
- # Copyright 2018 Google LLC
1
+ # Copyright 2021 Google LLC
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
-
14
+ apiVersion : v1
15
+ kind : Namespace
16
+ metadata :
17
+ name : wp
18
+ ---
15
19
apiVersion : v1
16
20
kind : ConfigMap
17
21
metadata :
22
+ namespace : wp
18
23
name : wp-config
19
24
data :
20
25
# ## We're using a ConfigMap for simplicity, but in real life one should
24
29
apiVersion : v1
25
30
kind : Service
26
31
metadata :
32
+ namespace : wp
27
33
name : wordpress-mysql
28
34
labels :
29
35
app : wordpress
38
44
apiVersion : v1
39
45
kind : PersistentVolumeClaim
40
46
metadata :
47
+ namespace : wp
41
48
name : mysql-pvc
42
49
labels :
43
50
app : wordpress
51
58
apiVersion : apps/v1
52
59
kind : Deployment
53
60
metadata :
61
+ namespace : wp
54
62
name : wordpress-mysql
55
63
labels :
56
64
app : wordpress
90
98
apiVersion : v1
91
99
kind : Service
92
100
metadata :
101
+ namespace : wp
93
102
name : wordpress
94
103
labels :
95
104
app : wordpress
@@ -103,6 +112,7 @@ spec:
103
112
apiVersion : v1
104
113
kind : PersistentVolumeClaim
105
114
metadata :
115
+ namespace : wp
106
116
name : wp-pvc
107
117
labels :
108
118
app : wordpress
@@ -116,6 +126,7 @@ spec:
116
126
apiVersion : apps/v1
117
127
kind : Deployment
118
128
metadata :
129
+ namespace : wp
119
130
name : wordpress
120
131
labels :
121
132
app : wordpress
You can’t perform that action at this time.
0 commit comments