fix(all): use app.kubernetes.io/name label instead of io.kompose.service
This commit is contained in:
@ -2,19 +2,19 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
io.kompose.service: hydra
|
||||
app.kubernetes.io/name: hydra
|
||||
name: hydra
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: hydra
|
||||
app.kubernetes.io/name: hydra
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
io.kompose.service: hydra
|
||||
app.kubernetes.io/name: hydra
|
||||
spec:
|
||||
serviceAccountName: hydra-sa
|
||||
initContainers:
|
||||
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
io.kompose.service: hydra
|
||||
app.kubernetes.io/name: hydra
|
||||
name: hydra
|
||||
spec:
|
||||
ports:
|
||||
@ -13,6 +13,6 @@ spec:
|
||||
port: 4445
|
||||
targetPort: hydra-admin
|
||||
selector:
|
||||
io.kompose.service: hydra
|
||||
app.kubernetes.io/name: hydra
|
||||
status:
|
||||
loadBalancer: {}
|
||||
|
Reference in New Issue
Block a user