Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add support for ignite configuration file #601

Merged
merged 6 commits into from
Jul 6, 2020

Commits on Jul 5, 2020

  1. Add support for ignite configuration file

    This adds a new API type `Configuration` which is used to define the
    default configurations of ignite. A Configuration object can be defined
    in a config file as:
    
    ```yaml
    apiVersion: ignite.weave.works/v1alpha3
    kind: Configuration
    metadata:
      name: test-config
    spec:
      runtime: containerd
      networkPlugin: cni
      vmDefaults:
        memory: "2GB"
        diskSize: "3GB"
        cpus: 2
        sandbox:
          oci: weaveworks/ignite:dev
        kernel:
          oci: weaveworks/ignite-kernel:4.19.47
        ssh: true
    ```
    
    By default, ignite looks for the config file at /etc/ignite/config.yaml.
    If this file is found, ignite uses it to configure the ignite defaults.
    `--ignite-config` flag can be used to explicitly pass a configuration
    file.
    darkowlzz committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    d525207 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97d85f4 View commit details
    Browse the repository at this point in the history
  3. Fix flag overrides

    - Flag overrides are applied on VM even if a VM config file is provided.
    darkowlzz committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    d1d0036 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2da7ffe View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Configuration menu
    Copy the full SHA
    4679153 View commit details
    Browse the repository at this point in the history
  2. Generate docs

    make api-docs
    darkowlzz committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    3a37adb View commit details
    Browse the repository at this point in the history