Name the Kubernetes objects in English
catalogue-agent and approvisionnement-agent named a Deployment, a Service, an Ingress and a Certificate in French, in an estate where nothing else is. The peer URLs move with them, set through the existing per-environment override so the rename takes effect without rebuilding an image; the defaults in the code carry the same values for the next build. The Keycloak client ids, the image names and the repository names are still French. They are a separate, heavier move. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -27,10 +27,10 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: approvisionnement-agent-tls
|
||||
name: supply-agent-tls
|
||||
namespace: agents
|
||||
spec:
|
||||
secretName: approvisionnement-agent-tls
|
||||
secretName: supply-agent-tls
|
||||
dnsNames:
|
||||
- supply-agent.sttlab.local
|
||||
issuerRef:
|
||||
@@ -40,7 +40,7 @@ spec:
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: approvisionnement-agent
|
||||
name: supply-agent
|
||||
namespace: agents
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/auth-url: http://keycloak.keycloak.svc.cluster.local:8080/realms/classic-models/protocol/openid-connect/userinfo
|
||||
@@ -56,7 +56,7 @@ spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- supply-agent.sttlab.local
|
||||
secretName: approvisionnement-agent-tls
|
||||
secretName: supply-agent-tls
|
||||
rules:
|
||||
- host: supply-agent.sttlab.local
|
||||
http:
|
||||
@@ -65,6 +65,6 @@ spec:
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: approvisionnement-agent
|
||||
name: supply-agent
|
||||
port:
|
||||
number: 8080
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- approvisionnement.yaml
|
||||
- supply.yaml
|
||||
- ingress.yaml
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: approvisionnement-agent
|
||||
name: supply-agent
|
||||
namespace: agents
|
||||
spec:
|
||||
# The adapter is stateless — every task is one webhook call — so this is a
|
||||
@@ -12,11 +12,11 @@ spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: approvisionnement-agent
|
||||
app: supply-agent
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: approvisionnement-agent
|
||||
app: supply-agent
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
@@ -53,7 +53,7 @@ spec:
|
||||
- name: ADAPTER_WEBHOOK_URL
|
||||
value: http://n8n.n8n.svc.cluster.local/webhook/check-availability
|
||||
- name: ADAPTER_PUBLIC_URL
|
||||
value: http://approvisionnement-agent.agents.svc.cluster.local:8080/
|
||||
value: http://supply-agent.agents.svc.cluster.local:8080/
|
||||
- name: ADAPTER_CA_BUNDLE
|
||||
value: /etc/sttlab-ca/ca.crt
|
||||
volumeMounts:
|
||||
@@ -92,11 +92,11 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: approvisionnement-agent
|
||||
name: supply-agent
|
||||
namespace: agents
|
||||
spec:
|
||||
selector:
|
||||
app: approvisionnement-agent
|
||||
app: supply-agent
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
Reference in New Issue
Block a user