github.com/kotalco/kotal@v0.3.0/config/samples/chainlink/chainlink_v1alpha1_node.yaml (about) 1 # Assuming cert manager is installed in the environment 2 # we will use cert manager to issue certificates 3 apiVersion: cert-manager.io/v1 4 kind: Issuer 5 metadata: 6 name: self-signed-issuer 7 spec: 8 selfSigned: {} 9 --- 10 # create certificate for chainlink node 11 apiVersion: cert-manager.io/v1 12 kind: Certificate 13 metadata: 14 name: chainlink-node-cert 15 spec: 16 dnsNames: 17 - "chainlink-node.svc" 18 - "chainlink-node.svc.cluster.local" 19 secretName: chainlink-node-cert 20 issuerRef: 21 name: self-signed-issuer 22 --- 23 # DON'T USE THIS DATABASE IN PRODUCTION 24 apiVersion: v1 25 kind: Pod 26 metadata: 27 name: postgres 28 labels: 29 app: postgres 30 spec: 31 containers: 32 - name: postgres 33 image: postgres 34 env: 35 - name: POSTGRES_PASSWORD 36 value: fE2xXKDnR3ns489X 37 ports: 38 - containerPort: 5432 39 --- 40 apiVersion: v1 41 kind: Service 42 metadata: 43 name: postgres 44 spec: 45 selector: 46 app: postgres 47 ports: 48 - protocol: TCP 49 port: 5432 50 targetPort: 5432 51 --- 52 # WARNING: DON'T use the following secrets in production 53 # this password is used by keystore and api credentials 54 apiVersion: v1 55 kind: Secret 56 metadata: 57 name: my-password 58 stringData: 59 password: fE2xXKDnR3ns489X 60 --- 61 apiVersion: chainlink.kotal.io/v1alpha1 62 kind: Node 63 metadata: 64 name: chainlink-node 65 spec: 66 ethereumChainId: 1 67 # deploy Ethereum node and enable websocket server 68 ethereumWsEndpoint: "wss://my-eth-node:8546" 69 # deploy 2 Ethereum nodes and enable HTTP JSON-RPC server 70 ethereumHttpEndpoints: 71 - "http://my-eth-node:8545" 72 - "http://my-eth-node2:8545" 73 linkContractAddress: "0x01BE23585060835E02B77ef475b0Cc51aA1e0709" 74 databaseURL: "postgresql://postgres:fE2xXKDnR3ns489X@postgres:5432/postgres?sslmode=disable" 75 keystorePasswordSecretName: "my-password" 76 certSecretName: "chainlink-node-cert" 77 tlsPort: 9999 78 logging: debug 79 apiCredentials: 80 email: "mostafa@kotal.co" 81 passwordSecretName: "my-password" 82 resources: 83 cpu: "1" 84 cpuLimit: "2" 85 memory: "1Gi" 86 memoryLimit: "2Gi"