Merge pull request #591 from dod-ccpo/k8s-auth-traffic-config
update k8s config so auth traffic is only directed to web pods
This commit is contained in:
commit
121d3c6d09
@ -12,6 +12,9 @@ metadata:
|
||||
name: atst
|
||||
namespace: atat
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
role: web
|
||||
replicas: 2
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
@ -19,12 +22,13 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: atst
|
||||
role: web
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 101
|
||||
containers:
|
||||
- name: atst
|
||||
image: registry.atat.codes:443/atst-prod:5550eed2
|
||||
image: registry.atat.codes:443/atst-prod:50f0843c
|
||||
resources:
|
||||
requests:
|
||||
memory: "2500Mi"
|
||||
@ -133,6 +137,9 @@ metadata:
|
||||
name: atst-worker
|
||||
namespace: atat
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
role: worker
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
@ -140,12 +147,13 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: atst
|
||||
role: worker
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 101
|
||||
containers:
|
||||
- name: atst-worker
|
||||
image: registry.atat.codes:443/atst-prod:5550eed2
|
||||
image: registry.atat.codes:443/atst-prod:50f0843c
|
||||
args: ["/bin/bash", "-c", "/opt/atat/atst/script/rq_worker"]
|
||||
resources:
|
||||
requests:
|
||||
@ -183,7 +191,7 @@ spec:
|
||||
port: 80
|
||||
targetPort: 8442
|
||||
selector:
|
||||
app: atst
|
||||
role: web
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@ -200,7 +208,7 @@ spec:
|
||||
nodePort: 32751
|
||||
port: 8443
|
||||
selector:
|
||||
app: atst
|
||||
role: web
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
|
@ -12,6 +12,9 @@ metadata:
|
||||
name: atst
|
||||
namespace: atat-test
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
role: web
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
@ -19,12 +22,13 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: atst
|
||||
role: web
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 101
|
||||
containers:
|
||||
- name: atst
|
||||
image: registry.atat.codes:443/atst-prod:24b2543c
|
||||
image: registry.atat.codes:443/atst-prod:50f0843c
|
||||
resources:
|
||||
requests:
|
||||
memory: "2500Mi"
|
||||
@ -130,6 +134,9 @@ metadata:
|
||||
name: atst-worker
|
||||
namespace: atat-test
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
role: worker
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
@ -137,12 +144,13 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: atst
|
||||
role: worker
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 101
|
||||
containers:
|
||||
- name: atst-worker
|
||||
image: registry.atat.codes:443/atst-prod:24b2543c
|
||||
image: registry.atat.codes:443/atst-prod:50f0843c
|
||||
args: ["/bin/bash", "-c", "/opt/atat/atst/script/rq_worker"]
|
||||
resources:
|
||||
requests:
|
||||
@ -180,7 +188,7 @@ spec:
|
||||
port: 80
|
||||
targetPort: 8442
|
||||
selector:
|
||||
app: atst
|
||||
role: web
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@ -197,7 +205,7 @@ spec:
|
||||
nodePort: 32711
|
||||
port: 8443
|
||||
selector:
|
||||
app: atst
|
||||
role: web
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
|
@ -12,6 +12,9 @@ metadata:
|
||||
name: atst
|
||||
namespace: atat-uat
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
role: web
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
@ -19,12 +22,13 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: atst
|
||||
role: web
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 101
|
||||
containers:
|
||||
- name: atst
|
||||
image: registry.atat.codes:443/atst-prod:a9fc2bd2
|
||||
image: registry.atat.codes:443/atst-prod:50f0843c
|
||||
resources:
|
||||
requests:
|
||||
memory: "2500Mi"
|
||||
@ -133,6 +137,9 @@ metadata:
|
||||
name: atst-worker
|
||||
namespace: atat-uat
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
role: worker
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
@ -140,12 +147,13 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: atst
|
||||
role: worker
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 101
|
||||
containers:
|
||||
- name: atst-worker
|
||||
image: registry.atat.codes:443/atst-prod:a9fc2bd2
|
||||
image: registry.atat.codes:443/atst-prod:50f0843c
|
||||
args: ["/bin/bash", "-c", "/opt/atat/atst/script/rq_worker"]
|
||||
resources:
|
||||
requests:
|
||||
@ -183,7 +191,7 @@ spec:
|
||||
port: 80
|
||||
targetPort: 8442
|
||||
selector:
|
||||
app: atst
|
||||
role: web
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@ -200,7 +208,7 @@ spec:
|
||||
nodePort: 32701
|
||||
port: 8443
|
||||
selector:
|
||||
app: atst
|
||||
role: web
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
|
Loading…
x
Reference in New Issue
Block a user