mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 20:28:22 +00:00
fix(kustomize): Use k8s recommended name label (#3261)
See https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels.
This commit is contained in:
@@ -12,11 +12,11 @@ spec:
|
|||||||
partition: 0
|
partition: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000 # Atlantis group (1000) read/write access to volumes.
|
fsGroup: 1000 # Atlantis group (1000) read/write access to volumes.
|
||||||
@@ -79,4 +79,4 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
targetPort: 4141
|
targetPort: 4141
|
||||||
selector:
|
selector:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
|
|||||||
@@ -140,11 +140,11 @@ spec:
|
|||||||
partition: 0
|
partition: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000 # Atlantis group (1000) read/write access to volumes.
|
fsGroup: 1000 # Atlantis group (1000) read/write access to volumes.
|
||||||
@@ -270,7 +270,7 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
targetPort: 4141
|
targetPort: 4141
|
||||||
selector:
|
selector:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -285,16 +285,16 @@ kind: Deployment
|
|||||||
metadata:
|
metadata:
|
||||||
name: atlantis
|
name: atlantis
|
||||||
labels:
|
labels:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: atlantis
|
- name: atlantis
|
||||||
@@ -403,7 +403,7 @@ spec:
|
|||||||
port: 80
|
port: 80
|
||||||
targetPort: 4141
|
targetPort: 4141
|
||||||
selector:
|
selector:
|
||||||
app: atlantis
|
app.kubernetes.io/name: atlantis
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user