Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
feat: use public image (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkweaver87 authored Feb 14, 2024
1 parent 27953cd commit 72bbf14
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 29 deletions.
10 changes: 0 additions & 10 deletions apps/base/apps/customers/api-versioned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ spec:
number: 3000
openApiSpec:
path: /openapi.yaml
port:
number: 3000

---
apiVersion: hub.traefik.io/v1alpha1
Expand All @@ -49,8 +47,6 @@ spec:
number: 3000
openApiSpec:
path: /openapi.yaml
port:
number: 3000

---
apiVersion: hub.traefik.io/v1alpha1
Expand All @@ -71,8 +67,6 @@ spec:
number: 3000
openApiSpec:
path: /openapi.yaml
port:
number: 3000

---
apiVersion: hub.traefik.io/v1alpha1
Expand All @@ -98,8 +92,6 @@ spec:
number: 3000
openApiSpec:
path: /openapi.yaml
port:
number: 3000

---
apiVersion: hub.traefik.io/v1alpha1
Expand All @@ -120,8 +112,6 @@ spec:
number: 3000
openApiSpec:
path: /openapi.yaml
port:
number: 3000
cors:
allowCredentials: true
allowHeaders:
Expand Down
4 changes: 1 addition & 3 deletions apps/base/apps/customers/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ spec:
service:
openApiSpec:
path: /openapi.yaml
port:
number: 3000
name: customer-app
port:
number: 3000
number: 3000
2 changes: 1 addition & 1 deletion apps/base/apps/customers/customer-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml"]
imagePullPolicy: Always
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/base/apps/customers/customer-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml"]
imagePullPolicy: Always
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/base/apps/customers/customer-v4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml"]
imagePullPolicy: Always
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion apps/base/apps/customers/customer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml", "-errorrate", "2"]
imagePullPolicy: Always
volumeMounts:
Expand Down
2 changes: 0 additions & 2 deletions apps/base/apps/employee/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ spec:
service:
openApiSpec:
path: /openapi.yaml
port:
number: 3000
name: employee-app
port:
number: 3000
6 changes: 3 additions & 3 deletions apps/base/apps/employee/employee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml", "-errorrate", "2"]
imagePullPolicy: Always
volumeMounts:
Expand Down Expand Up @@ -83,7 +83,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml", "-errorrate", "40"]
imagePullPolicy: Always
volumeMounts:
Expand Down Expand Up @@ -133,7 +133,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml", "-latency", "400ms"]
imagePullPolicy: Always
volumeMounts:
Expand Down
2 changes: 0 additions & 2 deletions apps/base/apps/flight/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ spec:
service:
openApiSpec:
path: /openapi.yaml
port:
number: 3000
name: flight-app
port:
number: 3000
2 changes: 1 addition & 1 deletion apps/base/apps/flight/flight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml", "-errorrate", "2"]
imagePullPolicy: Always
volumeMounts:
Expand Down
4 changes: 1 addition & 3 deletions apps/base/apps/ticket/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ spec:
service:
openApiSpec:
path: /openapi.yaml
port:
number: 3000
name: ticket-app
port:
number: 3000
number: 3000
2 changes: 1 addition & 1 deletion apps/base/apps/ticket/ticket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: api
image: mmatur/traefik-hub:kubecon
image: ghcr.io/traefik-workshops/api-server:v0.1.0
args: ["-data", "/api/api.json", "-openapi", "/public/openapi.yaml", "-errorrate", "1"]
imagePullPolicy: Always
volumeMounts:
Expand Down

0 comments on commit 72bbf14

Please sign in to comment.