Deploy Red Hat ACS, the GitOps way!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

55 lines
1.0 KiB

kind: Service
apiVersion: v1
metadata:
annotations:
argocd.argoproj.io/sync-wave: "20"
name: central-plain
namespace: stackrox
spec:
ports:
- name: http
protocol: TCP
port: 8080
targetPort: 8080
type: ClusterIP
sessionAffinity: None
selector:
app: central
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
annotations:
argocd.argoproj.io/sync-wave: "20"
name: central-plain
namespace: stackrox
spec:
host: central.{{ .Values.openshiftDnsZone }}
to:
kind: Service
name: central-plain
weight: 100
port:
targetPort: 8080
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
wildcardPolicy: None
---
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
annotations:
argocd.argoproj.io/sync-wave: "20"
name: allow-ext-to-central-plain
namespace: stackrox
spec:
podSelector:
matchLabels:
app: central
ingress:
- ports:
- protocol: TCP
port: 8080
policyTypes:
- Ingress