Skip to content
Snippets Groups Projects
  1. Feb 08, 2018
  2. Feb 05, 2018
  3. Feb 02, 2018
    • Jessica Yuen's avatar
      Migrate environment spec.json to the app.yaml model · 19b3b928
      Jessica Yuen authored
      
      Currently spec.json contains detail about an environment's namespace and
      server. Following the proposal at
      design/proposals/modular-components.md, this change will consolidate
      environment specifications in the common ksonnet app.yaml file.
      
      An environment specification for the environment "dev", may look as
      follows:
      
      environments:
        dev:
          destinations:
          - namespace: foo
            server: example.com
          k8sVersion: "1.8.1"
          path: dev
          targets:
          - db
      
      Note: This change currently doesn't support
      
      (1) population of the k8sVersion field. This will occur as we migrate
      the environment .metadata folder.
      (2) deployment to more than one destination. This will occur once ks
      supports multi-cluster deployment.
      (3) setting of details other than the env name in `ks env set`. Prior
      to this change, users are able to namespace and server URI, however it
      becomes ambiguous which namespace is being set for an environment where
      there can be multiple destinations. We will encourage configuration in
      app.yaml itself.
      (4) targets. This will come in a later change.
      
      Signed-off-by: default avatarJessica Yuen <im.jessicayuen@gmail.com>
      19b3b928
  4. Feb 01, 2018
  5. Jan 31, 2018
  6. Jan 30, 2018
  7. Jan 26, 2018
  8. Jan 25, 2018
  9. Jan 24, 2018
  10. Jan 22, 2018
    • Jess's avatar
      Merge pull request #288 from jessicayuen/component-rm · 4cb12c84
      Jess authored
      Add remove component functionality
      4cb12c84
    • Jessica Yuen's avatar
      Add remove component functionality · 8f26d9a4
      Jessica Yuen authored
      
      Introduce `ks component rm <component>`. This functionality will:
      
      1. Delete the component file from components/. This is determined by the
      component file name. If there exists two files with the same name but
      different file  extensions, we will error out.
      
      2. Remove component references. This currently implies removing all
      component referenes in the component/params.libsonnet file and the
      environment-specific params.libsonnet files.
      
      Signed-off-by: default avatarJessica Yuen <im.jessicayuen@gmail.com>
      8f26d9a4
  11. Jan 19, 2018
  12. Jan 17, 2018
  13. Jan 12, 2018
  14. Jan 11, 2018