ParseError: syntax error, unexpected single-quoted string "port" in k8s helm install


I am trying to set up nextcloud on my local home k8s cluster using minio for storage. I have the following entry in my helm chart values:

      # For example, to use S3 as primary storage
      # ref:
        s3.config.php: |-
          $CONFIG = array (
            'objectstore' => array(
              'class' => '\\OC\\Files\\ObjectStore\\S3',
              'arguments' => array(
                'hostname'   => '${SAN_HOST}',
                'port'       => 9000,
                'bucket'     => 'nextcloud',
                'autocreate' => true,
                'key'        => '${NC_MINIO_KEY}',
                'secret'     => '${NC_MINIO_SECRET}',
                'region'     => 'optional',
                'use_ssl'    => false,
                'use_path_style'=> true

however when the pod boots up, it outputs the following error:

Initializing nextcloud ...
New nextcloud instance
Installing with PostgreSQL database
Starting nextcloud installation
An unhandled exception has been thrown:
ParseError: syntax error, unexpected single-quoted string "port", expecting ")" in /var/www/html/config/s3.config.php:7
Stack trace:
#0 /var/www/html/lib/private/Config.php(71): OC\Config->readData()
#1 /var/www/html/lib/base.php(153): OC\Config->__construct('/var/www/html/c...')
#2 /var/www/html/lib/base.php(598): OC::initPaths()
#3 /var/www/html/lib/base.php(1144): OC::init()
#4 /var/www/html/console.php(48): require_once('/var/www/html/l...')
#5 /var/www/html/occ(11): require_once('/var/www/html/c...')
#6 {main}Retrying install...

The entire helm values I’m using can be found here:

Any help would be greatly appreciated. I’m sure it’s something stupidly simple, but I can’t figure out what I’m doing wrong.