Skip to content

Commit

Permalink
add avatar (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
levrado committed Nov 20, 2018
1 parent b1501dd commit 895344a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -82,6 +82,7 @@ The `spec` section contains the requirements and attributes and has the followin
| runtimeAttributes | See reference | Runtime specific attributes, see runtime documentation for specifics |
| resources | See [reference](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) | Limit resources allocated to deployed function |
| readinessTimeoutSeconds | int | Number of seconds that the controller will wait for the function to become ready before declaring failure (default: 30) |
| avatar | string | Base64 representation of an icon to be shown in UI for the function |

### Example

Expand Down
1 change: 1 addition & 0 deletions pkg/functionconfig/types.go
Expand Up @@ -207,6 +207,7 @@ type Spec struct {
DealerURI string `json:"dealerURI,omitempty"`
Platform Platform `json:"platform,omitempty"`
ReadinessTimeoutSeconds int `json:"readinessTimeoutSeconds,omitempty"`
Avatar string `json:"avatar,omitempty"`
}

// to appease k8s
Expand Down

0 comments on commit 895344a

Please sign in to comment.