UNCLASSIFIED - NO CUI

Fix redis rendering

General MR

Summary

Fix Redis wait initContainer securityContext rendering

Previously, when redis.enabled was true and global.certificate_authority was non-empty, the wait-for-redis initContainer could render an invalid securityContext by passing through Redis chart values-only fields.

Relevant logs/screenshots

helm unittest . -f 'unittests/**/*_test.yaml'


### Chart [ authservice ] .

 PASS  test ambient mode targetRef configuration        unittests/ambient_test.yaml
 PASS  test istio authentication and authorization resources    unittests/auth_test.yaml
 PASS  test authservice config.json structure   unittests/config_json_test.yaml
 PASS  test authservice secret creation unittests/config_test.yaml
 PASS  test authservice deployment      unittests/deployment_test.yaml
 PASS  test issuer configuration        unittests/issuer_test.yaml

Charts:      1 passed, 1 total
Test Suites: 6 passed, 6 total
Tests:       25 passed, 25 total
Snapshot:    0 passed, 0 total
Time:        324.387792ms

Linked Issue

issue

Upgrade Notices

"N/A"

Edited by Dax McDonald

Merge request reports

Loading