mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 18:38:29 +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
|
||||
selector:
|
||||
matchLabels:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1000 # Atlantis group (1000) read/write access to volumes.
|
||||
@@ -79,4 +79,4 @@ spec:
|
||||
port: 80
|
||||
targetPort: 4141
|
||||
selector:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
|
||||
@@ -140,11 +140,11 @@ spec:
|
||||
partition: 0
|
||||
selector:
|
||||
matchLabels:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1000 # Atlantis group (1000) read/write access to volumes.
|
||||
@@ -270,7 +270,7 @@ spec:
|
||||
port: 80
|
||||
targetPort: 4141
|
||||
selector:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
```
|
||||
</details>
|
||||
|
||||
@@ -285,16 +285,16 @@ kind: Deployment
|
||||
metadata:
|
||||
name: atlantis
|
||||
labels:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
spec:
|
||||
containers:
|
||||
- name: atlantis
|
||||
@@ -403,7 +403,7 @@ spec:
|
||||
port: 80
|
||||
targetPort: 4141
|
||||
selector:
|
||||
app: atlantis
|
||||
app.kubernetes.io/name: atlantis
|
||||
```
|
||||
</details>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user