Skip to content

Commit

Permalink
fix(kustomize): Use k8s recommended name label (#3261)
Browse files Browse the repository at this point in the history
  • Loading branch information
shouichi authored Mar 30, 2023
1 parent 6177140 commit f8d6aac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions kustomize/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -79,4 +79,4 @@ spec:
port: 80
targetPort: 4141
selector:
app: atlantis
app.kubernetes.io/name: atlantis
14 changes: 7 additions & 7 deletions runatlantis.io/docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -270,7 +270,7 @@ spec:
port: 80
targetPort: 4141
selector:
app: atlantis
app.kubernetes.io/name: atlantis
```
</details>
Expand All @@ -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
Expand Down Expand Up @@ -403,7 +403,7 @@ spec:
port: 80
targetPort: 4141
selector:
app: atlantis
app.kubernetes.io/name: atlantis
```
</details>
Expand Down

0 comments on commit f8d6aac

Please sign in to comment.