...

Text file src/edge-infra.dev/config/pallets/sds/wireguard/testing/relay/service-relay.yaml

Documentation: edge-infra.dev/config/pallets/sds/wireguard/testing/relay

     1apiVersion: v1
     2kind: Service
     3metadata:
     4  name: wireguard-relay
     5  namespace: vpn
     6  labels:
     7    platform.edge.ncr.com/component: wireguard-relay
     8spec:
     9  type: ClusterIP
    10  selector:
    11    platform.edge.ncr.com/component: wireguard-relay
    12  ports:
    13  - name: wireguard-relay
    14    protocol: UDP
    15    port: 51820
    16    targetPort: 51820
    17---
    18apiVersion: v1
    19kind: Service
    20metadata:
    21  name: wireguard-metrics
    22  namespace: vpn
    23spec:
    24  type: ClusterIP
    25  selector:
    26    platform.edge.ncr.com/component: wireguard-relay
    27  ports:
    28  - name: wg-metrics
    29    protocol: TCP
    30    port: 9586
    31    targetPort: wg-metrics

View as plain text