1
1
apiVersion : v1
2
2
kind : Namespace
3
3
metadata :
4
- name : k8s-operations
4
+ name : k8s-papivot-tools
5
5
labels :
6
- name : k8s-operations
7
- app : k8s-operations
6
+ name : k8s-papivot-tools
7
+ app : k8s-papivot-tools
8
8
---
9
9
apiVersion : v1
10
10
kind : ServiceAccount
11
11
metadata :
12
- name : k8s-operations -sa
13
- namespace : k8s-operations
12
+ name : k8s-papivot-tools -sa
13
+ namespace : k8s-papivot-tools
14
14
labels :
15
- name : k8s-operations
16
- app : k8s-operations
15
+ name : k8s-papivot-tools
16
+ app : k8s-papivot-tools
17
17
---
18
18
apiVersion : rbac.authorization.k8s.io/v1
19
19
kind : ClusterRole
20
20
metadata :
21
- name : k8s-operations -cr
21
+ name : k8s-papivot-tools -cr
22
22
labels :
23
- app : k8s-operations
24
- name : k8s-operations
23
+ app : k8s-papivot-tools
24
+ name : k8s-papivot-tools
25
25
rules :
26
26
- apiGroups :
27
27
- ' *'
@@ -35,51 +35,51 @@ rules:
35
35
apiVersion : rbac.authorization.k8s.io/v1
36
36
kind : ClusterRoleBinding
37
37
metadata :
38
- name : k8s-operations -crb
38
+ name : k8s-papivot-tools -crb
39
39
labels :
40
- app : k8s-operations
41
- name : k8s-operations
40
+ app : k8s-papivot-tools
41
+ name : k8s-papivot-tools
42
42
roleRef :
43
43
apiGroup : rbac.authorization.k8s.io
44
44
kind : ClusterRole
45
- name : k8s-operations -cr
45
+ name : k8s-papivot-tools -cr
46
46
subjects :
47
47
- kind : ServiceAccount
48
- name : k8s-operations -sa
49
- namespace : k8s-operations
48
+ name : k8s-papivot-tools -sa
49
+ namespace : k8s-papivot-tools
50
50
---
51
51
apiVersion : v1
52
52
kind : Service
53
53
metadata :
54
54
labels :
55
- app : k8s-operations
56
- name : k8s-operations
57
- name : k8s-operations -svc
58
- namespace : k8s-operations
55
+ app : k8s-papivot-tools
56
+ name : k8s-papivot-tools
57
+ name : k8s-papivot-tools -svc
58
+ namespace : k8s-papivot-tools
59
59
spec :
60
60
ports :
61
61
- name : http
62
62
port : 80
63
63
targetPort : 5000
64
64
selector :
65
- app : k8s-operations
65
+ app : k8s-papivot-tools
66
66
type : LoadBalancer
67
67
---
68
68
apiVersion : apps/v1
69
69
kind : Deployment
70
70
metadata :
71
71
labels :
72
- name : k8s-operations
73
- app : k8s-operations
74
- name : k8s-operations -deployment
75
- namespace : k8s-operations
72
+ name : k8s-papivot-tools
73
+ app : k8s-papivot-tools
74
+ name : k8s-papivot-tools -deployment
75
+ namespace : k8s-papivot-tools
76
76
spec :
77
77
progressDeadlineSeconds : 600
78
78
replicas : 1
79
79
revisionHistoryLimit : 10
80
80
selector :
81
81
matchLabels :
82
- app : k8s-operations
82
+ app : k8s-papivot-tools
83
83
version : v1
84
84
strategy :
85
85
rollingUpdate :
89
89
template :
90
90
metadata :
91
91
labels :
92
- app : k8s-operations
92
+ app : k8s-papivot-tools
93
93
version : v1
94
94
spec :
95
95
containers :
98
98
value : " 1"
99
99
- name : CLUSTER_NAME
100
100
value : " clustername.demo.local"
101
- image : whoami6443/k8sapiwalkthru:0.0.2
101
+ image : whoami6443/k8sapiwalkthru:0.0.3
102
102
imagePullPolicy : Always
103
- name : k8s-operations
103
+ name : k8s-papivot-tools
104
104
ports :
105
105
- containerPort : 5000
106
106
protocol : TCP
@@ -130,6 +130,6 @@ spec:
130
130
dnsPolicy : ClusterFirst
131
131
schedulerName : default-scheduler
132
132
securityContext : {}
133
- serviceAccount : k8s-operations -sa
134
- serviceAccountName : k8s-operations -sa
133
+ serviceAccount : k8s-papivot-tools -sa
134
+ serviceAccountName : k8s-papivot-tools -sa
135
135
terminationGracePeriodSeconds : 30
0 commit comments