diff --git a/rust/helm/optics-agent/templates/processor-statefulset.yaml b/rust/helm/optics-agent/templates/processor-statefulset.yaml index 8671c19b1..90cc78d4d 100644 --- a/rust/helm/optics-agent/templates/processor-statefulset.yaml +++ b/rust/helm/optics-agent/templates/processor-statefulset.yaml @@ -54,6 +54,14 @@ spec: {{- if .Values.optics.processor.pollingInterval }} - name: OPT_PROCESSOR_INTERVAL value: {{ .Values.optics.processor.pollingInterval | quote }} + - name: OPT_PROCESSOR_INDEXON + value: {{ .Values.optics.processor.indexon | quote }} + {{- if .hexKey }} + - name: OPT_PROCESSOR_S3_BUCKET + value: {{ .Values.optics.processor.s3BucketName }} + - name: OPT_PROCESSOR_S3_REGION + value: {{ .aws.region }} + {{- end }} {{- end }} {{- range .Values.optics.processor.transactionSigners }} {{- if .hexKey }} diff --git a/rust/helm/optics-agent/values.yaml b/rust/helm/optics-agent/values.yaml index cfcc450a8..d7ea388bf 100644 --- a/rust/helm/optics-agent/values.yaml +++ b/rust/helm/optics-agent/values.yaml @@ -123,6 +123,8 @@ optics: hexKey: "" - name: "alfajores" hexKey: "" + s3BucketName: + indxonly: false pollingInterval: # 10 kathy: diff --git a/typescript/optics-deploy/scripts/staging-community/agentConfig.ts b/typescript/optics-deploy/scripts/staging-community/agentConfig.ts index da70cf8c1..81f31225b 100644 --- a/typescript/optics-deploy/scripts/staging-community/agentConfig.ts +++ b/typescript/optics-deploy/scripts/staging-community/agentConfig.ts @@ -22,5 +22,5 @@ export const agentConfig: AgentConfig = { awsKeyId: process.env.AWS_KEY_ID!, awsSecretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!, dockerImageRepo: "gcr.io/clabs-optics/optics-agent", - dockerImageTag: "staging-community" + dockerImageTag: "3594c7d715f0ad1def2b36cb0e29649e1f6712e6" } diff --git a/typescript/optics-deploy/src/agents.ts b/typescript/optics-deploy/src/agents.ts index d51a19c91..d32b4476c 100644 --- a/typescript/optics-deploy/src/agents.ts +++ b/typescript/optics-deploy/src/agents.ts @@ -11,6 +11,8 @@ export interface AgentConfig { awsRegion?: string; awsKeyId?: string; awsSecretAccessKey?: string; + processorIndexOnly?: boolean; + processorS3Bucket?: string; dockerImageRepo: string; dockerImageTag: string; } @@ -250,6 +252,8 @@ async function helmValuesForChain( name: configs[chain].name, ...credentials(KEY_ROLE_ENUM.ProcessorSigner), })), + indexonly: agentConfig.processorIndexOnly || false, + s3BucketName: agentConfig.processorS3Bucket || '' }, }, };