Split out the Package type into a first class Kubernetes resource. Before this change, packages were implicitly tied to functions. This wasn't ideal because: * Functions will need to share packages * A package storage system may be more generally useful than just functions (for example, for storing static assets) This change does the following: * Updates the fission and tpr types to add a new Package and PackageSpec. It also creates a PackageRef type, and a FunctionPackageRef type. The PackageRef simply references a package, but the FunctionPackageRef includes the name of a function within the package. This allows us to share packages between different functions. * Updates fetcher and other components for first-class packages * Allows customization of fetcher image pull policy in the helm charts
36 lines
787 B
YAML
36 lines
787 B
YAML
#
|
|
# Fission chart configuration
|
|
#
|
|
|
|
## Kubernetes configuration
|
|
## For minikube, set this to NodePort, elsewhere use LoadBalancer.
|
|
serviceType: LoadBalancer
|
|
|
|
## Fission image repository
|
|
image: fission/fission-bundle
|
|
|
|
## Fission image version
|
|
imageTag: v0.2.0-20170822
|
|
|
|
## Image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
## Fission fetcher repository
|
|
fetcherImage: fission/fetcher
|
|
|
|
## Fission fetcher image version
|
|
fetcherImageTag: v0.2.0-20170822
|
|
|
|
## Port at which Fission controller service should be exposed
|
|
controllerPort: 31313
|
|
|
|
## Port at which Fission router service should be exposed
|
|
routerPort: 31314
|
|
|
|
## Namespace in which to run fission functions (this is different from
|
|
## the release namespace)
|
|
functionNamespace: fission-function
|
|
|
|
## Set up openshift RBAC rule
|
|
openshift: false
|