fix(all): use app.kubernetes.io/name label instead of io.kompose.service

This commit is contained in:
Philippe Caseiro 2024-02-21 15:43:42 +01:00
parent 72a9932fc5
commit 380a116fa8
13 changed files with 41 additions and 41 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: hydra-ldap
app.kubernetes.io/name: hydra-ldap
name: hydra-ldap
spec:
type: ClusterIP

View File

@ -2,19 +2,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: hydra-oidc
app.kubernetes.io/name: hydra-oidc
name: hydra-oidc
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: hydra-oidc
app.kubernetes.io/name: hydra-oidc
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: hydra-oidc
app.kubernetes.io/name: hydra-oidc
spec:
containers:
- name: hydra-oidc-php-fpm

View File

@ -2,13 +2,13 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: hydra-oidc
app.kubernetes.io/name: hydra-oidc
name: hydra-oidc
spec:
ports:
- name: hydra-oidc
port: 8080
selector:
io.kompose.service: hydra-oidc
app.kubernetes.io/name: hydra-oidc
status:
loadBalancer: {}

View File

@ -2,19 +2,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: hydra-saml-remote-user
app.kubernetes.io/name: hydra-saml-remote-user
name: hydra-saml-remote-user
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: hydra-saml-remote-user
app.kubernetes.io/name: hydra-saml-remote-user
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: hydra-saml-remote-user
app.kubernetes.io/name: hydra-saml-remote-user
spec:
containers:
- name: hydra-saml-remote-user
@ -31,7 +31,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: hydra-saml-remote-user
app.kubernetes.io/name: hydra-saml-remote-user
name: hydra-saml-remote-user
spec:
ports:
@ -39,6 +39,6 @@ spec:
port: 80
targetPort: 8080
selector:
io.kompose.service: hydra-saml-remote-user
app.kubernetes.io/name: hydra-saml-remote-user
status:
loadBalancer: {}

View File

@ -2,19 +2,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: hydra-saml-shibboleth-sp
app.kubernetes.io/name: hydra-saml-shibboleth-sp
name: hydra-saml-shibboleth-sp
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: hydra-saml-shibboleth-sp
app.kubernetes.io/name: hydra-saml-shibboleth-sp
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: hydra-saml-shibboleth-sp
app.kubernetes.io/name: hydra-saml-shibboleth-sp
spec:
securityContext:
fsGroup: 102
@ -41,14 +41,14 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: hydra-saml
app.kubernetes.io/name: hydra-saml
name: hydra-saml
spec:
ports:
- name: http
port: 80
selector:
io.kompose.service: hydra-saml-shibboleth-sp
app.kubernetes.io/name: hydra-saml-shibboleth-sp
status:
loadBalancer: {}

View File

@ -2,19 +2,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: hydra-sql
app.kubernetes.io/name: hydra-sql
name: hydra-sql
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: hydra-sql
app.kubernetes.io/name: hydra-sql
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: hydra-sql
app.kubernetes.io/name: hydra-sql
spec:
containers:
- name: hydra-sql-fpm

View File

@ -2,13 +2,13 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: hydra-sql
app.kubernetes.io/name: hydra-sql
name: hydra-sql
spec:
ports:
- name: hydra-sql
port: 8080
selector:
io.kompose.service: hydra-sql
app.kubernetes.io/name: hydra-sql
status:
loadBalancer: {}

View File

@ -2,19 +2,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: port-forwarder
app.kubernetes.io/name: port-forwarder
name: port-forwarder
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: port-forwarder
app.kubernetes.io/name: port-forwarder
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: port-forwarder
app.kubernetes.io/name: port-forwarder
spec:
containers:
- image: hpello/tcp-proxy:latest
@ -42,7 +42,7 @@ apiVersion: v1
metadata:
name: ssokustom
labels:
io.kompose.service: port-forwarder
app.kubernetes.io/name: port-forwarder
spec:
ports:
- name: https
@ -52,4 +52,4 @@ spec:
port: 80
targetPort: 80
selector:
io.kompose.service: port-forwarder
app.kubernetes.io/name: port-forwarder

View File

@ -2,19 +2,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: saml-idp
app.kubernetes.io/name: saml-idp
name: saml-idp
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: saml-idp
app.kubernetes.io/name: saml-idp
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: saml-idp
app.kubernetes.io/name: saml-idp
spec:
containers:
- image: kristophjunge/test-saml-idp:1.15
@ -35,7 +35,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: saml-idp
app.kubernetes.io/name: saml-idp
name: saml-idp
spec:
ports:
@ -46,6 +46,6 @@ spec:
port: 8443
targetPort: 8443
selector:
io.kompose.service: saml-idp
app.kubernetes.io/name: saml-idp
status:
loadBalancer: {}

View File

@ -2,19 +2,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: hydra-dispatcher
app.kubernetes.io/name: hydra-dispatcher
name: hydra-dispatcher
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: hydra-dispatcher
app.kubernetes.io/name: hydra-dispatcher
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: hydra-dispatcher
app.kubernetes.io/name: hydra-dispatcher
spec:
containers:
- name: hydra-dispatcher-php-fpm

View File

@ -2,13 +2,13 @@ apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: hydra-dispatcher
app.kubernetes.io/name: hydra-dispatcher
name: hydra-dispatcher
spec:
ports:
- name: http
port: 8080
selector:
io.kompose.service: hydra-dispatcher
app.kubernetes.io/name: hydra-dispatcher
status:
loadBalancer: {}

View File

@ -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:

View File

@ -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: {}