Skip to content

Commit 6083039

Browse files
committed
update name
1 parent f7cba0a commit 6083039

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

kubernetes-deployment/deployment.yaml

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
apiVersion: v1
22
kind: Namespace
33
metadata:
4-
name: k8s-operations
4+
name: k8s-papivot-tools
55
labels:
6-
name: k8s-operations
7-
app: k8s-operations
6+
name: k8s-papivot-tools
7+
app: k8s-papivot-tools
88
---
99
apiVersion: v1
1010
kind: ServiceAccount
1111
metadata:
12-
name: k8s-operations-sa
13-
namespace: k8s-operations
12+
name: k8s-papivot-tools-sa
13+
namespace: k8s-papivot-tools
1414
labels:
15-
name: k8s-operations
16-
app: k8s-operations
15+
name: k8s-papivot-tools
16+
app: k8s-papivot-tools
1717
---
1818
apiVersion: rbac.authorization.k8s.io/v1
1919
kind: ClusterRole
2020
metadata:
21-
name: k8s-operations-cr
21+
name: k8s-papivot-tools-cr
2222
labels:
23-
app: k8s-operations
24-
name: k8s-operations
23+
app: k8s-papivot-tools
24+
name: k8s-papivot-tools
2525
rules:
2626
- apiGroups:
2727
- '*'
@@ -35,51 +35,51 @@ rules:
3535
apiVersion: rbac.authorization.k8s.io/v1
3636
kind: ClusterRoleBinding
3737
metadata:
38-
name: k8s-operations-crb
38+
name: k8s-papivot-tools-crb
3939
labels:
40-
app: k8s-operations
41-
name: k8s-operations
40+
app: k8s-papivot-tools
41+
name: k8s-papivot-tools
4242
roleRef:
4343
apiGroup: rbac.authorization.k8s.io
4444
kind: ClusterRole
45-
name: k8s-operations-cr
45+
name: k8s-papivot-tools-cr
4646
subjects:
4747
- kind: ServiceAccount
48-
name: k8s-operations-sa
49-
namespace: k8s-operations
48+
name: k8s-papivot-tools-sa
49+
namespace: k8s-papivot-tools
5050
---
5151
apiVersion: v1
5252
kind: Service
5353
metadata:
5454
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
5959
spec:
6060
ports:
6161
- name: http
6262
port: 80
6363
targetPort: 5000
6464
selector:
65-
app: k8s-operations
65+
app: k8s-papivot-tools
6666
type: LoadBalancer
6767
---
6868
apiVersion: apps/v1
6969
kind: Deployment
7070
metadata:
7171
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
7676
spec:
7777
progressDeadlineSeconds: 600
7878
replicas: 1
7979
revisionHistoryLimit: 10
8080
selector:
8181
matchLabels:
82-
app: k8s-operations
82+
app: k8s-papivot-tools
8383
version: v1
8484
strategy:
8585
rollingUpdate:
@@ -89,7 +89,7 @@ spec:
8989
template:
9090
metadata:
9191
labels:
92-
app: k8s-operations
92+
app: k8s-papivot-tools
9393
version: v1
9494
spec:
9595
containers:
@@ -98,9 +98,9 @@ spec:
9898
value: "1"
9999
- name: CLUSTER_NAME
100100
value: "clustername.demo.local"
101-
image: whoami6443/k8sapiwalkthru:0.0.2
101+
image: whoami6443/k8sapiwalkthru:0.0.3
102102
imagePullPolicy: Always
103-
name: k8s-operations
103+
name: k8s-papivot-tools
104104
ports:
105105
- containerPort: 5000
106106
protocol: TCP
@@ -130,6 +130,6 @@ spec:
130130
dnsPolicy: ClusterFirst
131131
schedulerName: default-scheduler
132132
securityContext: {}
133-
serviceAccount: k8s-operations-sa
134-
serviceAccountName: k8s-operations-sa
133+
serviceAccount: k8s-papivot-tools-sa
134+
serviceAccountName: k8s-papivot-tools-sa
135135
terminationGracePeriodSeconds: 30

0 commit comments

Comments
 (0)