mirror of
https://github.com/PokeAPI/pokeapi
synced 2025-02-16 12:38:25 +00:00
ci: use port 8080/use root
This commit is contained in:
parent
c6844f8250
commit
d5629937a2
3 changed files with 10 additions and 5 deletions
|
@ -26,9 +26,12 @@ spec:
|
|||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsUser: 0
|
||||
env:
|
||||
- name: SERVER_PORT
|
||||
value: 8080
|
||||
value: "8080"
|
||||
- name: POSTGRES_HOST
|
||||
value: postgresql
|
||||
- name: POSTGRES_USER
|
||||
|
@ -51,10 +54,10 @@ spec:
|
|||
initialDelaySeconds: 5
|
||||
httpGet:
|
||||
path: /api/v2/
|
||||
port: 80
|
||||
port: 8080
|
||||
livenessProbe:
|
||||
periodSeconds: 5
|
||||
initialDelaySeconds: 5
|
||||
httpGet:
|
||||
path: /api/v2/
|
||||
port: 80
|
||||
port: 8080
|
||||
|
|
|
@ -35,9 +35,11 @@ rules:
|
|||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- "extensions"
|
||||
- extensions
|
||||
- networking.k8s.io
|
||||
resources:
|
||||
- ingresses
|
||||
- ingressclasses
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
|
|
|
@ -11,4 +11,4 @@ spec:
|
|||
component: pokeapi
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
targetPort: 8080
|
||||
|
|
Loading…
Add table
Reference in a new issue