Skip to content

Commit

Permalink
Update HelmApplication Tags
Browse files Browse the repository at this point in the history
Migrate to common tags implementation.
  • Loading branch information
spjmurray committed Nov 28, 2024
1 parent 3b09dc9 commit a5617b8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
4 changes: 2 additions & 2 deletions charts/core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A Helm chart for deploying Unikorn Core

type: application

version: v0.1.85
appVersion: v0.1.85
version: v0.1.86
appVersion: v0.1.86

icon: https://assets.unikorn-cloud.org/images/logos/dark-on-light/icon.svg

Expand Down
19 changes: 13 additions & 6 deletions charts/core/crds/unikorn-cloud.org_helmapplications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,20 @@ spec:
under.
type: string
tags:
description: |-
Tags allows an application to be given a free-form set of labels
that can provide grouping, filtering or other contexts. For
example "networking", "monitoring", "database" etc.
description: Tags are aribrary user data.
items:
type: string
description: Tag is an arbirary key/value.
properties:
name:
description: Name of the tag.
type: string
value:
description: Value of the tag.
type: string
required:
- name
- value
type: object
type: array
versions:
description: Versions are the application versions that are supported.
Expand Down Expand Up @@ -196,7 +204,6 @@ spec:
- documentation
- icon
- license
- tags
type: object
status:
type: object
Expand Down
6 changes: 2 additions & 4 deletions pkg/apis/unikorn/v1alpha1/helmapplication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,14 @@ type HelmApplication struct {
}

type HelmApplicationSpec struct {
// Tags are aribrary user data.
Tags TagList `json:"tags,omitempty"`
// Documentation defines a URL to 3rd party documentation.
Documentation *string `json:"documentation"`
// License describes the licence the application is released under.
License *string `json:"license"`
// Icon is a base64 encoded icon for the application.
Icon []byte `json:"icon"`
// Tags allows an application to be given a free-form set of labels
// that can provide grouping, filtering or other contexts. For
// example "networking", "monitoring", "database" etc.
Tags []string `json:"tags"`
// Versions are the application versions that are supported.
Versions []HelmApplicationVersion `json:"versions,omitempty"`
}
Expand Down
10 changes: 5 additions & 5 deletions pkg/apis/unikorn/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a5617b8

Please sign in to comment.