Another possibility would be to set the -D properties as part of the JAVA_OPTS String:
env: - name: JAVA_OPTS value: >- -Ddb.username=$(DATABASE_USER) -...