github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/charts/solana-validator/templates/sol-deployment.yml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: sol 5 spec: 6 selector: 7 matchLabels: 8 app: sol 9 release: {{ .Release.Name }} 10 template: 11 metadata: 12 labels: 13 app: sol 14 release: {{ .Release.Name }} 15 annotations: 16 {{- range $key, $value := .Values.podAnnotations }} 17 {{ $key }}: {{ $value | quote }} 18 {{- end }} 19 spec: 20 volumes: 21 - name: vol 22 configMap: 23 name: sol-cm 24 containers: 25 - name: sol-val 26 image: "{{ .Values.sol.image.image }}:{{ .Values.sol.image.version }}" 27 ports: 28 - name: http-rpc 29 containerPort: 8899 30 - name: ws-rpc 31 containerPort: 8900 32 volumeMounts: 33 - mountPath: /root/.config/solana/cli 34 name: vol 35 resources: 36 {{ toYaml .Values.sol.resources | nindent 10 }} 37 command: ["solana-test-validator"] 38 args: ["-r", "--mint", "AAxAoGfkbWnbgsiQeAanwUvjv6bQrM5JS8Vxv1ckzVxg"] 39 {{- with .Values.nodeSelector }} 40 nodeSelector: 41 {{ toYaml . | indent 8 }} 42 {{- end }} 43 {{- with .Values.affinity }} 44 affinity: 45 {{ toYaml . | indent 8 }} 46 {{- end }} 47 {{- with .Values.tolerations }} 48 tolerations: 49 {{ toYaml . | indent 8 }} 50 {{- end }}