Skip to content

Commit

Permalink
Merge pull request #226 from fission/0.6.0-2
Browse files Browse the repository at this point in the history
Script and helm updates for 0.6.0 release
  • Loading branch information
erwinvaneyk authored Oct 15, 2018
2 parents 7b32398 + eca035f commit 52d9992
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build fission-workflows fission-workflows-bundle fission-workflows-proxy:
# TODO toggle between container and local build, support parameters, seperate cli and bundle
build/build.sh

generate: ${PROTO_TARGETS} pkg/version/version.gen.go examples/workflows-env.yaml pkg/api/events/events.gen.go
generate: ${PROTO_TARGETS} examples/workflows-env.yaml pkg/api/events/events.gen.go

prepush: generate verify test

Expand Down
2 changes: 1 addition & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ while [[ $# -gt 0 ]]; do
output_cli=$2
shift
;;
--output-cli)
--output-proxy)
output_proxy=$2
shift
;;
Expand Down
2 changes: 0 additions & 2 deletions charts/fission-workflows/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ spec:
targetPort: 5555
protocol: TCP
---
#
# Fission integration
#
apiVersion: fission.io/v1
kind: Environment
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/fission-workflows/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fission:
env:
name: workflow
ns: default
runtimeImage: fission/fission-workflows-proxy
runtimeImage: fission/workflows-proxy
builderImage: fission/workflow-build-env

# Tracing-related configuration
Expand Down
12 changes: 5 additions & 7 deletions examples/workflows-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: workflows
namespace: default
namespace: fission
labels:
chart: "fission-workflows-0.6.0"
spec:
Expand Down Expand Up @@ -62,7 +62,7 @@ apiVersion: v1
kind: Service
metadata:
name: workflows
namespace: default
namespace: fission
labels:
svc: workflows
chart: "fission-workflows-0.6.0"
Expand All @@ -86,7 +86,7 @@ apiVersion: v1
kind: Service
metadata:
name: workflows-apiserver
namespace: default
namespace: fission
labels:
svc: workflows
chart: "fission-workflows-0.6.0"
Expand All @@ -104,9 +104,7 @@ spec:
targetPort: 5555
protocol: TCP
---
#
# Fission integration
#
apiVersion: fission.io/v1
kind: Environment
metadata:
Expand All @@ -119,13 +117,13 @@ spec:
TerminationGracePeriod: 5
allowedFunctionsPerContainer: infinite
runtime:
image: "fission/fission-workflows-proxy:0.6.0"
image: "fission/workflows-proxy:0.6.0"
container:
command: ["/fission-workflows-proxy"]
imagePullPolicy: IfNotPresent
args: [
"--test",
"--target", "workflows.default:5555",
"--target", "workflows.fission:5555",
"--port", "8888",
]
builder:
Expand Down
2 changes: 1 addition & 1 deletion hack/codegen-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ TARGET=examples/workflows-env.yaml

echo '# An Kubernetes example template of a Fission Workflow deployment as an environment in Fission' > ${TARGET}

helm template --set fission.env.name=workflows charts/fission-workflows/ >> ${TARGET}
helm template --namespace fission --set fission.env.name=workflows charts/fission-workflows/ >> ${TARGET}

echo "Created ${TARGET}"

0 comments on commit 52d9992

Please sign in to comment.