github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/charts/geth-reorg/templates/bootnode-registrar.deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: {{ template "ethereum.fullname" . }}-node-registrar
     5    labels:
     6      app: node-registrar
     7      chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
     8      release: {{ .Release.Name }}
     9      heritage: {{ .Release.Service }}
    10  spec:
    11    replicas: {{ .Values.bootnodeRegistrar.replicas }}
    12    selector:
    13      matchLabels:
    14        app: {{ template "ethereum.fullname" . }}-node-registrar
    15        release: {{ .Release.Name }}
    16    template:
    17      metadata:
    18        labels:
    19          app: {{ template "ethereum.fullname" . }}-node-registrar
    20          release: {{ .Release.Name }}
    21      spec:
    22        containers:
    23          - name: node-registrar
    24            image: {{ .Values.bootnodeRegistrar.image.repository }}:{{ .Values.bootnodeRegistrar.image.tag }}
    25            imagePullPolicy: {{ .Values.imagePullPolicy }}
    26            env:
    27              - name: BOOTNODE_SERVICE
    28                value: {{ template "ethereum.fullname" . }}-bootnode-service.{{ .Release.Namespace }}.svc.cluster.local
    29            ports:
    30              - name: node-registrar
    31                containerPort: 9898
    32  {{- with .Values.nodeSelector }}
    33        nodeSelector:
    34  {{ toYaml . | indent 8 }}
    35  {{- end }}
    36  {{- with .Values.affinity }}
    37        affinity:
    38  {{ toYaml . | indent 8 }}
    39  {{- end }}
    40  {{- with .Values.tolerations }}
    41        tolerations:
    42  {{ toYaml . | indent 8 }}
    43  {{- end }}