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 kind: Service
metadata: metadata:
labels: labels:
io.kompose.service: hydra-ldap app.kubernetes.io/name: hydra-ldap
name: hydra-ldap name: hydra-ldap
spec: spec:
type: ClusterIP type: ClusterIP

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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