ConfigurationΒΆ

OpeNgine configuration consists of two major parts: configuration file environment/vars.yml and set of environment variables or files needed to establish authenticated secure connection to certain cloud platform.

Connection to Cloud Platform


Each cloud platform requires specific settings to establish authenticated secure connection. Please refer to corresponding section for detailed instructions.

Environment Configuration File


You can find examples of OpeNgine environment configurations inside vars subfolder. There are examples made to showcase end-to-end configuration for environments provisioned on GCP, AWS and Azure. You can use one of these examples as starting point: make new folder inside vars subfolder and give it a name of your configuration. Then copy one of the existing vars.yml file into it. Finally, make your customizations.

In most cases environment/vars.yml file has the following structure:

tf_state: # Terraform Remote State configuration block
    ...
vpc: # VPC configuration block
    ...
k8s: # Configuration block for Kubernetes cluster(s)
    ...
helm: # Helm settings
    ...
vault: # Vault settings
    ...
monitoring: # Configuration block for monitoring component(s)
    ...
log_management: # Configuration block for log management component(s)
    ...
dashboards: # Configuration block for visualization/dashboard component(s)
    ...
repositories: # Configuration block for Git and Docker repositories
    ...
cicd: # Configuration block for CI\CD component(s)
    ...

Most of the sections listed above have very similar internal structure:

component:
    target-cluster-name:
        type: component-implementation-type
        ... # Other settings

or

component:
    sub-component:
        target-cluster-name:
            type: component-implementation-type
            ... # Other settings

Each configuration block is documented in corresponding section: