k3scraft

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

playit-tunnel.yaml (524B)


      1 apiVersion: apps/v1
      2 kind: Deployment
      3 metadata:
      4   name: playit-agent
      5 spec:
      6   replicas: 1
      7   selector:
      8     matchLabels:
      9       app: playit
     10   template:
     11     metadata:
     12       labels:
     13         app: playit
     14     spec:
     15       containers:
     16       - name: playit
     17         image: ghcr.io/playit-cloud/playit-agent:0.16
     18         tty: true
     19         stdin: true
     20         env:
     21         - name: SECRET_KEY  # 変数名を公式に合わせる
     22           valueFrom:
     23             secretKeyRef:
     24               name: playit-secret
     25               key: secret-key