blob: 1fe404800cd5783e76b91134f1e5d21b520ec24d [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
name: $PROD_STUB_APP_NAME
namespace: $KUBE_SIM_NAMESPACE
labels:
run: $PROD_STUB_APP_NAME
autotest: PROD_STUB
spec:
type: ClusterIP
ports:
- port: $PROD_STUB_EXTERNAL_PORT
targetPort: $PROD_STUB_INTERNAL_PORT
protocol: TCP
name: http
- port: $PROD_STUB_EXTERNAL_SECURE_PORT
targetPort: $PROD_STUB_INTERNAL_SECURE_PORT
protocol: TCP
name: https
selector:
run: $PROD_STUB_APP_NAME