forseti-security / helm-charts

Apache License 2.0
8 stars 11 forks source link

Support Both Git and GCS as policy-library repositories. #38

Closed kevensen closed 4 years ago

kevensen commented 4 years ago

Story

Config Validator requires a policy-library present in the local file system in order to start. The config-validator chart, by default, pulls in the example policy-library from the base repo. This repo is synced once by git-sync in an initContainer so that the policy-library is available to the config-validator container when the pod starts. git-sync is deployed as a container in the pod to periodically sync from the repository, and, if a change is detected, automatically restart the pod.

GCS is another option for policy-library storage. This option is available for Forseti on-GCE.

Helm advocates a run-as-is paradigm. The chart ought deploy pods to a READY state with just the defaults. This means the pods must deploy to a READY state if a GCS bucket is not specified.

Proposed Solution

Acceptance Criteria

kevensen commented 4 years ago

Addressed by https://github.com/forseti-security/helm-charts/pull/46