Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Generate kafka-zookeeper-openshift.yaml #683

Merged
merged 2 commits into from
Apr 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,4 @@ kubeless-openshift.yaml
kubeless-non-rbac.yaml
kubeless.yaml
kafka-zookeeper.yaml
kafka-zookeeper-openshift.yaml
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ before_deploy:
sed 's/'":${CONTROLLER_TAG}"'/'"@$NEW_DIGEST"'/g' kubeless-non-rbac.yaml > kubeless-non-rbac-${TRAVIS_TAG}.yaml
sed 's/'":${CONTROLLER_TAG}"'/'"@$NEW_DIGEST"'/g' kubeless-openshift.yaml > kubeless-openshift-${TRAVIS_TAG}.yaml
cp kafka-zookeeper.yaml kafka-zookeeper-${TRAVIS_TAG}.yaml
cp kafka-zookeeper-openshift.yaml kafka-zookeeper-openshift-${TRAVIS_TAG}.yaml
fi

deploy:
Expand All @@ -207,6 +208,7 @@ deploy:
- kubeless-non-rbac-${TRAVIS_TAG}.yaml
- kubeless-openshift-${TRAVIS_TAG}.yaml
- kafka-zookeeper-${TRAVIS_TAG}.yaml
- kafka-zookeeper-openshift-${TRAVIS_TAG}.yaml
- bundles/kubeless_*.zip
skip_cleanup: true
overwrite: true
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ binary-cross:
$(KUBECFG) show -o yaml $< > $@.tmp
mv $@.tmp $@

all-yaml: kubeless.yaml kubeless-non-rbac.yaml kubeless-openshift.yaml kafka-zookeeper.yaml
all-yaml: kubeless.yaml kubeless-non-rbac.yaml kubeless-openshift.yaml kafka-zookeeper.yaml kafka-zookeeper-openshift.yaml

kubeless.yaml: kubeless.jsonnet

Expand Down
10 changes: 10 additions & 0 deletions kafka-zookeeper-openshift.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
local k = import "ksonnet.beta.1/k.libsonnet";

local manifest = import "kafka-zookeeper.jsonnet";

manifest + {
kafkaSts+:
{spec+: {template+: {spec+: {initContainers: []}}}},
zookeeperSts+:
{spec+: {template+: {spec+: {initContainers: []}}}},
}
10 changes: 6 additions & 4 deletions script/upload_release_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,28 @@ To install this latest version, use the manifest that is part of the release:\\n
\\n\
\`\`\`console\\n\
kubectl create ns kubeless\\n\
curl -sL https://github.com/kubeless/kubeless/releases/download/$tag/kubeless-$tag.yaml | kubectl create -f -\\n\
kubectl create -f https://github.com/kubeless/kubeless/releases/download/$tag/kubeless-$tag.yaml \\n\
\`\`\`\\n\
\\n\
**WITHOUT RBAC:**\\n\
\\n\
\`\`\`console\\n\
kubectl create ns kubeless\\n\
curl -sL https://github.com/kubeless/kubeless/releases/download/$tag/kubeless-non-rbac-$tag.yaml | kubectl create -f -\\n\
kubectl create -f https://github.com/kubeless/kubeless/releases/download/$tag/kubeless-non-rbac-$tag.yaml \\n\
\`\`\`\\n\
**KAFKA:**\\n\
\\n\
\`\`\`console\\n\
kubectl create ns kubeless\\n\
curl -sL https://github.com/kubeless/kubeless/releases/download/$tag/kafka-zookeeper-$tag.yaml | kubectl create -f -\\n\
kubectl create -f https://github.com/kubeless/kubeless/releases/download/$tag/kafka-zookeeper-$tag.yaml \\n\
\`\`\`\\n\
**OPENSHIFT:**\\n\
\\n\
\`\`\`console\\n\
oc create ns kubeless\\n\
curl -sL https://github.com/kubeless/kubeless/releases/download/$tag/kubeless-openshift-$tag.yaml | oc create -f -\\n\
oc create -f https://github.com/kubeless/kubeless/releases/download/$tag/kubeless-openshift-$tag.yaml \\n\
# Kafka
oc create -f https://github.com/kubeless/kubeless/releases/download/$tag/kafka-zookeeper-openshift-$tag.yaml \\n\
\`\`\`\\n\
")
echo "${notes}"
Expand Down