Closed bulhiCzar closed 6 days ago
Make sure your values.yaml file contains the following record:
storageClassName: local-path
dev:
imagePullSecrets: local-path
storageClassName: local-path
helm upgrade -f values.yaml shkeeper .
Error: UPGRADE FAILED: cannot patch "shkeeper-deployment" with kind Deployment: "" is invalid: patch: Invalid value: "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"11\",\"meta.helm.sh/release-name\":\"shkeeper\",\"meta.helm.sh/release-namespace\":\"default\"},\"creationTimestamp\":\"2024-03-22T18:25:22Z\",\"generation\":13,\"labels\":{\"app.kubernetes.io/instance\":\"shkeeper-vsys\",\"app.kubernetes.io/managed-by\":\"Helm\",\"app.kubernetes.io/name\":\"shkeeper\"},\"managedFields\":[{\"manager\":\"helm\",\"operation\":\"Update\",\"apiVersion\":\"apps/v1\",\"time\":\"2024-09-03T20:02:07Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{}},\"f:labels\":{\".\":{},\"f:app.kubernetes.io/instance\":{},\"f:app.kubernetes.io/managed-by\":{},\"f:app.kubernetes.io/name\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app.kubernetes.io/instance\":{},\"f:app.kubernetes.io/name\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"shkeeper\\\"}\":{\".\":{},\"f:env\":{\".\":{},\"k:{\\\"name\\\":\\\"AVALANCHE_USDC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"AVALANCHE_USDT_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"AVAX_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"BNB_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"BNB_USDC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"BNB_USDT_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"BNB_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"BNB_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"BTC_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"BTC_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"BTC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"DOGE_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"DOGE_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"DOGE_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"ETH_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"ETH_USDC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"ETH_USDT_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"ETH_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"ETH_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"LTC_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"LTC_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"LTC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"MATIC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"MONERO_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"POLYGON_USDC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"POLYGON_USDT_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"SHKEEPER_BTC_BACKEND_KEY\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"TRON_API_SERVER_HOST\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"TRON_API_SERVER_PORT\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"TRON_MULTISERVER_GUI\\\"}\":{\".\":{},\"f:name\":{}},\"k:{\\\"name\\\":\\\"TRX_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"TRX_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"TRX_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"USDC_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"USDC_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"USDC_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"USDT_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"USDT_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"USDT_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"XRP_WALLET\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}}},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":5000,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{},\"f:volumeMounts\":{\".\":{},\"k:{\\\"mountPath\\\":\\\"/shkeeper.io/instance\\\"}\":{\".\":{},\"f:mountPath\":{},\"f:name\":{}}}}},\"f:dnsPolicy\":{},\"f:hostname\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{},\"f:volumes\":{\".\":{},\"k:{\\\"name\\\":\\\"shkeeper-db-storage\\\"}\":{\".\":{},\"f:name\":{},\"f:persistentVolumeClaim\":{\".\":{},\"f:claimName\":{}}}}}}}}},{\"manager\":\"k3s\",\"operation\":\"Update\",\"apiVersion\":\"apps/v1\",\"time\":\"2024-09-03T20:02:08Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"subresource\":\"status\"}],\"name\":\"shkeeper-deployment\",\"namespace\":\"shkeeper\",\"resourceVersion\":\"4598491\",\"uid\":\"3eb3c56f-cd06-43ce-965f-4bb9ebb4177c\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":1,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app.kubernetes.io/instance\":\"shkeeper-vsys\",\"app.kubernetes.io/name\":\"shkeeper\"}},\"strategy\":{\"type\":\"RollingUpdate\",\"rollingUpdate\":{\"maxUnavailable\":\"25%!\(MISSING)",\"maxSurge\":\"25%!\(MISSING)"}},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app.kubernetes.io/instance\":\"shkeeper-vsys\",\"app.kubernetes.io/name\":\"shkeeper\"}},\"spec\":{\"containers\":[{\"env\":[{\"name\":\"TRON_API_SERVER_HOST\",\"value\":\"tron-shkeeper\"},{\"name\":\"TRON_API_SERVER_PORT\",\"value\":\"6000\"},{\"name\":\"BTC_WALLET\",\"value\":\"enabled\"},{\"name\":\"LTC_WALLET\",\"value\":\"enabled\"},{\"name\":\"DOGE_WALLET\",\"value\":\"enabled\"},{\"name\":\"TRX_WALLET\",\"value\":\"enabled\"},{\"name\":\"USDT_WALLET\",\"value\":\"enabled\"},{\"name\":\"USDC_WALLET\",\"value\":\"enabled\"},{\"name\":\"ETH_WALLET\",\"value\":\"enabled\"},{\"name\":\"ETH_USDT_WALLET\",\"value\":\"disabled\"},{\"name\":\"ETH_USDC_WALLET\",\"value\":\"disabled\"},{\"name\":\"MONERO_WALLET\",\"value\":\"disabled\"},{\"name\":\"BNB_WALLET\",\"value\":\"disabled\"},{\"name\":\"BNB_USDT_WALLET\",\"value\":\"disabled\"},{\"name\":\"BNB_USDC_WALLET\",\"value\":\"disabled\"},{\"name\":\"XRP_WALLET\",\"value\":\"disabled\"},{\"name\":\"MATIC_WALLET\",\"value\":\"disabled\"},{\"name\":\"POLYGON_USDT_WALLET\",\"value\":\"disabled\"},{\"name\":\"POLYGON_USDC_WALLET\",\"value\":\"disabled\"},{\"name\":\"AVAX_WALLET\",\"value\":\"disabled\"},{\"name\":\"AVALANCHE_USDT_WALLET\",\"value\":\"disabled\"},{\"name\":\"AVALANCHE_USDC_WALLET\",\"value\":\"disabled\"},{\"name\":\"BTC_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"bitcoin-rpc\",\"optional\":false}}},{\"name\":\"BTC_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"bitcoin-rpc\",\"optional\":false}}},{\"name\":\"LTC_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"litecoin-rpc\",\"optional\":false}}},{\"name\":\"LTC_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"litecoin-rpc\",\"optional\":false}}},{\"name\":\"DOGE_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"dogecoin-rpc\",\"optional\":false}}},{\"name\":\"DOGE_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"dogecoin-rpc\",\"optional\":false}}},{\"name\":\"TRX_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"usdt-rpc\",\"optional\":false}}},{\"name\":\"TRX_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"usdt-rpc\",\"optional\":false}}},{\"name\":\"USDT_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"usdt-rpc\",\"optional\":false}}},{\"name\":\"USDT_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"usdt-rpc\",\"optional\":false}}},{\"name\":\"USDC_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"usdt-rpc\",\"optional\":false}}},{\"name\":\"USDC_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"usdt-rpc\",\"optional\":false}}},{\"name\":\"ETH_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"eth-rpc\",\"optional\":false}}},{\"name\":\"ETH_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"eth-rpc\",\"optional\":false}}},{\"name\":\"SHKEEPER_BTC_BACKEND_KEY\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"shkeeper-btc-key\",\"optional\":false}}},{\"name\":\"TRON_MULTISERVER_GUI\",\"value\":\"\"}],\"image\":\"vsyshost/shkeeper:2.1.48\",\"name\":\"shkeeper\",\"ports\":[{\"containerPort\":5000}],\"volumeMounts\":[{\"mountPath\":\"/shkeeper.io/instance\",\"name\":\"shkeeper-db-storage\"}]}],\"dnsPolicy\":\"ClusterFirst\",\"hostname\":\"shkeeper\",\"imagePullSecrets\":\"local-path\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30,\"volumes\":[{\"name\":\"shkeeper-db-storage\",\"persistentVolumeClaim\":{\"claimName\":\"shkeeper-db-claim\"}}]}}},\"status\":{\"observedGeneration\":13,\"replicas\":1,\"updatedReplicas\":1,\"readyReplicas\":1,\"availableReplicas\":1,\"conditions\":[{\"type\":\"Available\",\"status\":\"True\",\"lastUpdateTime\":\"2024-06-12T12:59:22Z\",\"lastTransitionTime\":\"2024-06-12T12:59:22Z\",\"reason\":\"MinimumReplicasAvailable\",\"message\":\"Deployment has minimum availability.\"},{\"type\":\"Progressing\",\"status\":\"True\",\"lastUpdateTime\":\"2024-09-03T20:02:08Z\",\"lastTransitionTime\":\"2024-03-22T18:25:22Z\",\"reason\":\"NewReplicaSetAvailable\",\"message\":\"ReplicaSet \\\"shkeeper-deployment-5c9ff9fbcc\\\" has successfully progressed.\"}]}}": json: cannot unmarshal string into Go struct field PodSpec.spec.template.spec.imagePullSecrets of type []v1.LocalObjectReference && cannot patch "tron-shkeeper" with kind Deployment: "" is invalid: patch: Invalid value: "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{\"deployment.kubernetes.io/revision\":\"146\",\"meta.helm.sh/release-name\":\"shkeeper\",\"meta.helm.sh/release-namespace\":\"default\"},\"creationTimestamp\":\"2024-03-23T21:19:13Z\",\"generation\":148,\"labels\":{\"app\":\"tron-shkeeper\",\"app.kubernetes.io/managed-by\":\"Helm\"},\"managedFields\":[{\"manager\":\"kubectl-edit\",\"operation\":\"Update\",\"apiVersion\":\"apps/v1\",\"time\":\"2024-09-03T19:13:08Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:spec\":{\"f:template\":{\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"app\\\"}\":{\"f:env\":{\"k:{\\\"name\\\":\\\"BLOCK_SCANNER_INTERVAL_TIME\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"BLOCK_SCANNER_MAX_BLOCK_CHUNK_SIZE\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"BLOCK_SCANNER_STATS_LOG_PERIOD\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"FULLNODE_URL\\\"}\":{\"f:value\":{}}}}}}}}}},{\"manager\":\"helm\",\"operation\":\"Update\",\"apiVersion\":\"apps/v1\",\"time\":\"2024-09-03T19:59:44Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:meta.helm.sh/release-name\":{},\"f:meta.helm.sh/release-namespace\":{}},\"f:labels\":{\".\":{},\"f:app\":{},\"f:app.kubernetes.io/managed-by\":{}}},\"f:spec\":{\"f:progressDeadlineSeconds\":{},\"f:revisionHistoryLimit\":{},\"f:selector\":{},\"f:strategy\":{\"f:rollingUpdate\":{\".\":{},\"f:maxSurge\":{},\"f:maxUnavailable\":{}},\"f:type\":{}},\"f:template\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:app\":{}}},\"f:spec\":{\"f:containers\":{\"k:{\\\"name\\\":\\\"app\\\"}\":{\".\":{},\"f:command\":{},\"f:env\":{\".\":{},\"k:{\\\"name\\\":\\\"BTC_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"BTC_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"FULLNODE_URL\\\"}\":{\".\":{},\"f:name\":{}},\"k:{\\\"name\\\":\\\"SHKEEPER_BACKEND_KEY\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"SHKEEPER_HOST\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}}},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:ports\":{\".\":{},\"k:{\\\"containerPort\\\":6000,\\\"protocol\\\":\\\"TCP\\\"}\":{\".\":{},\"f:containerPort\":{},\"f:name\":{},\"f:protocol\":{}}},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{},\"f:volumeMounts\":{\".\":{},\"k:{\\\"mountPath\\\":\\\"/app/data\\\"}\":{\".\":{},\"f:mountPath\":{},\"f:name\":{}}}},\"k:{\\\"name\\\":\\\"redis\\\"}\":{\".\":{},\"f:command\":{},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{},\"f:volumeMounts\":{\".\":{},\"k:{\\\"mountPath\\\":\\\"/data\\\"}\":{\".\":{},\"f:mountPath\":{},\"f:name\":{}}}},\"k:{\\\"name\\\":\\\"tasks\\\"}\":{\".\":{},\"f:command\":{},\"f:env\":{\".\":{},\"k:{\\\"name\\\":\\\"BTC_PASSWORD\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"BTC_USERNAME\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"C_FORCE_ROOT\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"FULLNODE_URL\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"SHKEEPER_BACKEND_KEY\\\"}\":{\".\":{},\"f:name\":{},\"f:valueFrom\":{\".\":{},\"f:secretKeyRef\":{}}},\"k:{\\\"name\\\":\\\"SHKEEPER_HOST\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}}},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{},\"f:volumeMounts\":{\".\":{},\"k:{\\\"mountPath\\\":\\\"/app/data\\\"}\":{\".\":{},\"f:mountPath\":{},\"f:name\":{}}}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{},\"f:volumes\":{\".\":{},\"k:{\\\"name\\\":\\\"data\\\"}\":{\".\":{},\"f:name\":{},\"f:persistentVolumeClaim\":{\".\":{},\"f:claimName\":{}}},\"k:{\\\"name\\\":\\\"redis-data\\\"}\":{\".\":{},\"f:name\":{},\"f:persistentVolumeClaim\":{\".\":{},\"f:claimName\":{}}}}}}}}},{\"manager\":\"k3s\",\"operation\":\"Update\",\"apiVersion\":\"apps/v1\",\"time\":\"2024-09-03T20:00:12Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:deployment.kubernetes.io/revision\":{}}},\"f:status\":{\"f:availableReplicas\":{},\"f:conditions\":{\".\":{},\"k:{\\\"type\\\":\\\"Available\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Progressing\\\"}\":{\".\":{},\"f:lastTransitionTime\":{},\"f:lastUpdateTime\":{},\"f:message\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:observedGeneration\":{},\"f:readyReplicas\":{},\"f:replicas\":{},\"f:updatedReplicas\":{}}},\"subresource\":\"status\"}],\"name\":\"tron-shkeeper\",\"namespace\":\"shkeeper\",\"resourceVersion\":\"4598351\",\"uid\":\"0827c33b-5c1e-4e95-9af3-2840a4c332f5\"},\"spec\":{\"progressDeadlineSeconds\":600,\"replicas\":1,\"revisionHistoryLimit\":10,\"selector\":{\"matchLabels\":{\"app\":\"tron-shkeeper\"}},\"strategy\":{\"type\":\"RollingUpdate\",\"rollingUpdate\":{\"maxUnavailable\":\"25%!\(MISSING)",\"maxSurge\":\"25%!\(MISSING)"}},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"tron-shkeeper\"}},\"spec\":{\"containers\":[{\"command\":[\"gunicorn\",\"--access-logfile=-\",\"--workers=1\",\"--threads=64\",\"--timeout=600\",\"--bind=0.0.0.0:6000\",\"run:server\"],\"env\":[{\"name\":\"BTC_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"usdt-rpc\"}}},{\"name\":\"BTC_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"usdt-rpc\"}}},{\"name\":\"SHKEEPER_BACKEND_KEY\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"shkeeper-btc-key\"}}},{\"name\":\"SHKEEPER_HOST\",\"value\":\"shkeeper:5000\"},{\"name\":\"FULLNODE_URL\",\"value\":\"http://tron.org\"}],\"image\":\"vsyshost/tron-shkeeper:1.0.18\",\"name\":\"app\",\"ports\":[{\"containerPort\":6000,\"name\":\"http\"}],\"volumeMounts\":[{\"mountPath\":\"/app/data\",\"name\":\"data\"}]},{\"command\":[\"celery\",\"-A\",\"celery_worker.celery\",\"worker\",\"--loglevel=info\",\"-B\"],\"env\":[{\"name\":\"BTC_USERNAME\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"username\",\"name\":\"usdt-rpc\"}}},{\"name\":\"BTC_PASSWORD\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"usdt-rpc\"}}},{\"name\":\"SHKEEPER_BACKEND_KEY\",\"valueFrom\":{\"secretKeyRef\":{\"key\":\"password\",\"name\":\"shkeeper-btc-key\"}}},{\"name\":\"SHKEEPER_HOST\",\"value\":\"shkeeper:5000\"},{\"name\":\"FULLNODE_URL\",\"value\":\"http://tron.org\"},{\"name\":\"C_FORCE_ROOT\",\"value\":\"1\"}],\"image\":\"vsyshost/tron-shkeeper:1.0.18\",\"name\":\"tasks\",\"volumeMounts\":[{\"mountPath\":\"/app/data\",\"name\":\"data\"}]},{\"command\":[\"redis-server\",\"--loglevel\",\"warning\",\"--bind\",\"0.0.0.0\",\"--protected-mode\",\"no\",\"--appendonly\",\"yes\",\"--shutdown-on-sigint\",\"save\",\"--shutdown-on-sigterm\",\"save\"],\"image\":\"redis:7\",\"name\":\"redis\",\"volumeMounts\":[{\"mountPath\":\"/data\",\"name\":\"redis-data\"}]}],\"dnsPolicy\":\"ClusterFirst\",\"imagePullSecrets\":\"local-path\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30,\"volumes\":[{\"name\":\"data\",\"persistentVolumeClaim\":{\"claimName\":\"tron-shkeeper-data\"}},{\"name\":\"redis-data\",\"persistentVolumeClaim\":{\"claimName\":\"tron-shkeeper-redis-data\"}}]}}},\"status\":{\"observedGeneration\":148,\"replicas\":1,\"updatedReplicas\":1,\"readyReplicas\":1,\"availableReplicas\":1,\"conditions\":[{\"type\":\"Available\",\"status\":\"True\",\"lastUpdateTime\":\"2024-06-12T12:59:22Z\",\"lastTransitionTime\":\"2024-06-12T12:59:22Z\",\"reason\":\"MinimumReplicasAvailable\",\"message\":\"Deployment has minimum availability.\"},{\"type\":\"Progressing\",\"status\":\"True\",\"lastUpdateTime\":\"2024-09-03T20:00:12Z\",\"lastTransitionTime\":\"2024-03-23T21:19:13Z\",\"reason\":\"NewReplicaSetAvailable\",\"message\":\"ReplicaSet \\\"tron-shkeeper-77cc96b45b\\\" has successfully progressed.\"}]}}": json: cannot unmarshal string into Go struct field PodSpec.spec.template.spec.imagePullSecrets of type []v1.LocalObjectReference
You should add only storageClassName: local-path
to the values.yaml
The following code is redundant and causes the error you specified. Delete it from the values.yaml file.
dev:
imagePullSecrets: local-path