Commit b916d227 authored by Mark Harding's avatar Mark Harding
Browse files

(feat): support for iam roles

parent c80aebae
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -234,6 +234,17 @@ data:
            'encryption_key' => '{{ .Values.jwtsecret }}',
        ]);

        // Storage setup
        $CONFIG->storage_engine = '{{ .Values.storageEngine }}';

        // AWS configuration
        $CONFIG->set('aws', [
            'useRoles' => {{ .Values.aws.useRoles }},
            'account_id' => '{{ .Values.aws.account_id }}',
            'region' => '{{ .Values.aws.region }}',
            'bucket' => '{{ .Values.aws.s3Bucket }}',
        ]);

        // Legacy elgg configuration
        $CONFIG->installed = true;
        $CONFIG->path = '{{ .Values.path }}';
+9 −3
Original line number Diff line number Diff line
@@ -180,6 +180,15 @@ rabbitmq:

queueExchange: 'minds'

storageEngine: 'S3'

aws:
  useRoles: false
  account_id: '324044571751'
  region: 'us-east-1'
  bucket: 'minds-sandbox'
  snsSecret: ''

# CockroachDB
cockroachdb:
  Replicas: 1
@@ -203,9 +212,6 @@ encryptionKeys:
    private:
    public:

aws:
  snsSecret:

blockchain:
  testNet: 'true'
  clientNetwork: '4'