github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/src/test/packages/25-evil-dos-games/manifests/service.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: doom
     6    annotations:
     7      jackal.dev/connect-description: "Play doom!!!"
     8      jackal.dev/connect-url: "?doom"
     9    labels:
    10      # Enables "jackal connect doom"
    11      jackal.dev/connect-name: doom
    12  spec:
    13    selector:
    14      # This is intentionally wrong to cause this to fail to deploy with helm
    15      app: dos-games
    16    ports:
    17      - name: http
    18        port: 8000
    19        protocol: TCP
    20        targetPort: 8000
    21  ---
    22  apiVersion: v1
    23  kind: Service
    24  metadata:
    25    name: game
    26    annotations:
    27      jackal.dev/connect-description: "Play some old dos games 🦄"
    28    labels:
    29      # Enables "jackal connect games"
    30      jackal.dev/connect-name: games
    31  spec:
    32    selector:
    33      app: game
    34    ports:
    35      - name: http
    36        port: 8000
    37        protocol: TCP
    38        targetPort: 8000