Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Add version tags to kapps that don't use Helm
  • Loading branch information
boosh committed Sep 17, 2019
1 parent 37e7d70 commit b6d11cd
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions incubator/aws-vpn/sugarkube.yaml
Expand Up @@ -5,6 +5,9 @@ vars:
# vpc_name: # set these in a manifest
# hostnames:

metadata: # this is a catch-all key for user-defined values. Sugarkube doesn't use this data at all
version: 0.1.0 # there's no `Chart.yaml` so we can keep the kapp version here and use it in a CI pipeline to auto-tag the repo

requires:
- aws
- script
Expand Down
3 changes: 3 additions & 0 deletions incubator/kops-image/sugarkube.yaml
@@ -1,6 +1,9 @@
requires:
- inline

metadata: # this is a catch-all key for user-defined values. Sugarkube doesn't use this data at all
version: 0.1.0 # there's no `Chart.yaml` so we can keep the kapp version here and use it in a CI pipeline to auto-tag the repo

vars:
main_kapp_dir: kops-image

Expand Down
3 changes: 3 additions & 0 deletions incubator/private-hosted-zone/sugarkube.yaml
@@ -1,6 +1,9 @@
requires:
- aws

metadata: # this is a catch-all key for user-defined values. Sugarkube doesn't use this data at all
version: 0.1.0 # there's no `Chart.yaml` so we can keep the kapp version here and use it in a CI pipeline to auto-tag the repo

vars:
main_kapp_dir: private-hosted-zone
script_path: "{{ .kapp.cacheRoot }}/{{ .kapp.vars.main_kapp_dir }}/scripts/{{ .stack.provider }}-hosted-zone.py"
Expand Down
3 changes: 3 additions & 0 deletions incubator/public-hosted-zone/sugarkube.yaml
Expand Up @@ -5,6 +5,9 @@ vars:
# hosted_zone: # set these in a manifest
# parent_hosted_zone:

metadata: # this is a catch-all key for user-defined values. Sugarkube doesn't use this data at all
version: 0.1.0 # there's no `Chart.yaml` so we can keep the kapp version here and use it in a CI pipeline to auto-tag the repo

requires:
- aws
- terraform
Expand Down
3 changes: 3 additions & 0 deletions incubator/terraform-bucket/sugarkube.yaml
Expand Up @@ -2,6 +2,9 @@ requires:
- terraform
- aws

metadata: # this is a catch-all key for user-defined values. Sugarkube doesn't use this data at all
version: 0.1.0 # there's no `Chart.yaml` so we can keep the kapp version here and use it in a CI pipeline to auto-tag the repo

outputs:
- id: terraform
path: "{{ .kapp.vars.tf_output_path }}"
Expand Down
3 changes: 3 additions & 0 deletions incubator/tiller/sugarkube.yaml
Expand Up @@ -2,6 +2,9 @@
# variables applicable to the stack/profile/cluster/etc that you install this
# kapp into.

metadata: # this is a catch-all key for user-defined values. Sugarkube doesn't use this data at all
version: 0.1.0 # there's no `Chart.yaml` so we can keep the kapp version here and use it in a CI pipeline to auto-tag the repo

templates:
rbac:
source: k8s/rbac.tpl.yaml
Expand Down

0 comments on commit b6d11cd

Please sign in to comment.