diff --git a/deployment/configmaps.yaml b/deployment/configmaps.yaml index 80e1892..0b11304 100644 --- a/deployment/configmaps.yaml +++ b/deployment/configmaps.yaml @@ -1,10 +1,19 @@ apiVersion: v1 kind: ConfigMap +metadata: + name: ic-config +data: + CAPTURE: "True" + THRES: "0.25" + TIMEINT: "5" +--- +apiVersion: v1 +kind: ConfigMap metadata: name: s3config namespace: default data: - BUCKET_HOST: play.min.io + BUCKET_HOST: s3://flotta-ic-data-bucket BUCKET_NAME: flotta-ic-data-bucket BUCKET_PORT: "443" BUCKET_REGION: us-east-1 \ No newline at end of file diff --git a/deployment/edgeworkload.yaml b/deployment/edgeworkload.yaml index f57d3ca..f2f1ee1 100644 --- a/deployment/edgeworkload.yaml +++ b/deployment/edgeworkload.yaml @@ -19,6 +19,10 @@ spec: containers: - name: edge-ic-workload image: quay.io/dpshekhawat/img-class:latest + envFrom: + - configMapRef: + name: ic-config + optional: false volumeMounts: - mountPath: /dev/video0 name: video diff --git a/deployment/secrets.yaml b/deployment/secrets.yaml index 29ebdc4..4cf46ac 100644 --- a/deployment/secrets.yaml +++ b/deployment/secrets.yaml @@ -5,5 +5,5 @@ metadata: namespace: default type: Opaque data: - AWS_ACCESS_KEY_ID: Q3AM3UQ867SPQQA43P2F - AWS_SECRET_ACCESS_KEY: zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG \ No newline at end of file + AWS_ACCESS_KEY_ID: + AWS_SECRET_ACCESS_KEY: