refactor integration tests splitting out the kubernetes cluster setup to just be in a script and making it the reponsibility of the host/user/jenkins. integration tests now run just like unit tests using "go test".
20 lines
315 B
YAML
20 lines
315 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rook-api-external
|
|
namespace: rook
|
|
labels:
|
|
app: rook-api
|
|
rook_cluster: rook
|
|
spec:
|
|
ports:
|
|
- name: rook-api
|
|
port: 8124
|
|
protocol: TCP
|
|
nodePort: 30002
|
|
selector:
|
|
app: rook-api
|
|
rook_cluster: rook
|
|
sessionAffinity: None
|
|
type: NodePort
|