Skip to content
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
6 changes: 3 additions & 3 deletions docs/configurationChoices.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ components is not currently supported:
- couchdb. For production deployments of OpenWhisk on Kubernetes, we strongly recomend running
CouchDB externally to OpenWhisk as described below. An external CouchDB instance enables
better management of the database and decouples its lifecycle from that of the OpenWhisk deployment.
- The event providers: alarmprovider, cloudantprovider, and kafkaprovider.
- The event providers: alarmprovider and kafkaprovider.

### Using an external database

Expand Down Expand Up @@ -179,8 +179,8 @@ k8s:

### Selectively Deploying Event Providers

The default settings of the Helm chart will deploy OpenWhisk's alarm,
cloudant, and kafka event providers. If you want to disable the
The default settings of the Helm chart will deploy OpenWhisk's alarm
and kafka event providers. If you want to disable the
deployment of one or more event providers, you can add
a stanza to your `mycluster.yaml` for example:
```yaml
Expand Down
1 change: 0 additions & 1 deletion docs/private-docker-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ By default, helm charts currently use docker hub to download images to deploy Op
- busybox
- openwhisk/alarmprovider
- openwhisk/kafkaprovider
- openwhisk/cloudantprovider

- Add details of your docker registry information in mycluster.yml.

Expand Down
15 changes: 0 additions & 15 deletions helm/openwhisk/configMapFiles/installPackages/myTask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,21 +106,6 @@ if [ "$OW_INSTALL_ALARM_PROVIDER" == "yes" ]; then
fi


#####
# Install the catalog for the Cloudant provider
#####

if [ "$OW_INSTALL_CLOUDANT_PROVIDER" == "yes" ]; then
cd /
git clone https://github.com/apache/openwhisk-package-cloudant.git

pushd /openwhisk-package-cloudant
git checkout $OW_GIT_TAG_OPENWHISK_PACKAGE_CLOUDANT
./installCatalog.sh $WHISK_AUTH $WHISK_API_HOST_URL $PROVIDER_DB_URL $CLOUDANT_DB_PREFIX $WHISK_API_HOST_URL || exit 1
popd
fi


#####
# Install the catalog for the Kafka provider
#####
Expand Down
3 changes: 0 additions & 3 deletions helm/openwhisk/configMapFiles/tests/packageChecker/myTask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ packageListingCheck "websocket"
if [ "$OW_INSTALL_ALARM_PROVIDER" == "yes" ]; then
packageListingCheck "alarms"
fi
if [ "$OW_INSTALL_CLOUDANT_PROVIDER" == "yes" ]; then
packageListingCheck "cloudant"
fi
if [ "$OW_INSTALL_KAFKA_PROVIDER" == "yes" ]; then
packageListingCheck "messaging"
fi
Expand Down
10 changes: 0 additions & 10 deletions helm/openwhisk/runtimes-minimal-travis.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
{
"runtimes": {
"nodejs": [
{
"kind": "nodejs:6",
"default": false,
"image": {
"prefix": "openwhisk",
"name": "nodejs6action",
"tag": "1.14.0-incubating"
},
"deprecated": false
},
{
"kind": "nodejs:10",
"default": true,
Expand Down
28 changes: 0 additions & 28 deletions helm/openwhisk/runtimes.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,6 @@
{
"runtimes": {
"nodejs": [
{
"kind": "nodejs:6",
"default": false,
"image": {
"prefix": "openwhisk",
"name": "nodejs6action",
"tag": "1.14.0-incubating"
},
"deprecated": false,
"attached": {
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
},
{
"kind": "nodejs:8",
"default": false,
"image": {
"prefix": "openwhisk",
"name": "action-nodejs-v8",
"tag": "1.15.0"
},
"deprecated": false,
"attached": {
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
},
{
"kind": "nodejs:10",
"default": true,
Expand Down
6 changes: 0 additions & 6 deletions helm/openwhisk/templates/install-packages-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,12 @@ spec:
# Provider database table prefixes
- name: "ALARM_DB_PREFIX"
value: {{ .Values.providers.alarm.dbPrefix | quote }}
- name: "CLOUDANT_DB_PREFIX"
value: {{ .Values.providers.cloudant.dbPrefix | quote }}
- name: "KAFKA_DB_PREFIX"
value: {{ .Values.providers.kafka.dbPrefix | quote }}

# Should each of the providers be installed?
- name: "OW_INSTALL_ALARM_PROVIDER"
value: {{ if .Values.providers.alarm.enabled }} "yes" {{ else }} "no" {{ end }}
- name: "OW_INSTALL_CLOUDANT_PROVIDER"
value: {{ if .Values.providers.cloudant.enabled }} "yes" {{ else }} "no" {{ end }}
- name: "OW_INSTALL_KAFKA_PROVIDER"
value: {{ if .Values.providers.kafka.enabled }} "yes" {{ else }} "no" {{ end }}

Expand All @@ -140,7 +136,5 @@ spec:
value: {{ .Values.whisk.versions.openwhiskCatalog.gitTag | quote }}
- name: "OW_GIT_TAG_OPENWHISK_PACKAGE_ALARMS"
value: {{ .Values.whisk.versions.openwhiskPackageAlarms.gitTag | quote }}
- name: "OW_GIT_TAG_OPENWHISK_PACKAGE_CLOUDANT"
value: {{ .Values.whisk.versions.openwhiskPackageCloudant.gitTag | quote }}
- name: "OW_GIT_TAG_OPENWHISK_PACKAGE_KAFKA"
value: {{ .Values.whisk.versions.openwhiskPackageKafka.gitTag | quote }}
106 changes: 0 additions & 106 deletions helm/openwhisk/templates/provider-cloudant-pod.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions helm/openwhisk/templates/provider-cloudant-pvc.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion helm/openwhisk/templates/provider-kafka-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
- name: "DB_PASS"
value: {{ .Values.providers.db.password | quote }}
{{- else }}
# Config database using the same openwhisk cloudant instance
# Config database using the same openwhisk couchdb instance
- name: "DB_URL"
valueFrom:
configMapKeyRef:
Expand Down
2 changes: 0 additions & 2 deletions helm/openwhisk/templates/tests/package-checker-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ spec:
# Which of the providers was installed (and thus should be checked)?
- name: "OW_INSTALL_ALARM_PROVIDER"
value: {{ if .Values.providers.alarm.enabled }} "yes" {{ else }} "no" {{ end }}
- name: "OW_INSTALL_CLOUDANT_PROVIDER"
value: {{ if .Values.providers.cloudant.enabled }} "yes" {{ else }} "no" {{ end }}
- name: "OW_INSTALL_KAFKA_PROVIDER"
value: {{ if .Values.providers.kafka.enabled }} "yes" {{ else }} "no" {{ end }}
{{- end }}
14 changes: 2 additions & 12 deletions helm/openwhisk/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,8 @@
"openwhiskCli": { "type": "object", "properties": { "gitTag": { "type": "string" }, "required": ["gitTag"] } },
"openwhiskCatalog": { "type": "object", "properties": { "gitTag": { "type": "string" }, "required": ["gitTag"] } },
"openwhiskPackageAlarms": { "type": "object", "properties": { "gitTag": { "type": "string" }, "required": ["gitTag"] } },
"openwhiskPackageCloudant": { "type": "object", "properties": { "gitTag": { "type": "string" }, "required": ["gitTag"] } },
"openwhiskPackageKafka": { "type": "object", "properties": { "gitTag": { "type": "string" }, "required": ["gitTag"] } },
"required": ["openwhisk", "openwhiskCli", "openwhiskCatalog", "openwhiskPackageAlarms", "openwhiskPackageCloudant", "openwhiskPackageKafka"]
"required": ["openwhisk", "openwhiskCli", "openwhiskCatalog", "openwhiskPackageAlarms", "openwhiskPackageKafka"]
}
},
"required": [ "ingress", "auth", "systemNameSpace", "versions" ]
Expand Down Expand Up @@ -427,14 +426,6 @@
]
},

"cloudant": {
"allOf": [
{ "$ref": "#/definitions/podspec" },
{ "properties": { "apiPort": { "type": "integer", "minimum": 0 } }, "required": ["apiPort"] },
{ "properties": { "replicaCount": { "const": 1 } } }
]
},

"kafka": {
"allOf": [
{ "$ref": "#/definitions/podspec" },
Expand Down Expand Up @@ -515,8 +506,7 @@
"prometheus": { "$ref": "#/definitions/pvSizeValid" },
"providers": {
"properties": {
"alarm": { "$ref": "#/definitions/pvSizeValid" },
"cloudant": { "$ref": "#/definitions/pvSizeValid" }
"alarm": { "$ref": "#/definitions/pvSizeValid" }
}
}
}
Expand Down
15 changes: 0 additions & 15 deletions helm/openwhisk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ whisk:
gitTag: "0.11.0"
openwhiskPackageAlarms:
gitTag: "2.2.0"
openwhiskPackageCloudant:
gitTag: "2.0.0-incubating"
openwhiskPackageKafka:
gitTag: "2.1.0"

Expand Down Expand Up @@ -388,19 +386,6 @@ providers:
dbPrefix: "alm"
persistence:
size: 1Gi
# Cloudant provider configurations
cloudant:
enabled: true
imageName: "openwhisk/cloudantprovider"
imageTag: "2.0.0-incubating"
imagePullPolicy: "IfNotPresent"
# NOTE: replicaCount > 1 doesn't work because of the PVC
replicaCount: 1
restartPolicy: "Always"
apiPort: 8080
dbPrefix: "cldt"
persistence:
size: 1Gi
# Kafka provider configurations
kafka:
enabled: true
Expand Down
1 change: 0 additions & 1 deletion tools/travis/collect-logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ kubectl -n openwhisk logs -lname=ow4travis-install-packages >& logs/install-pack
kubectl -n openwhisk logs -lname=ow4travis-init-couchdb >& logs/init-couchdb.log
kubectl logs -n openwhisk -low-testpod=true --tail=-1 >& logs/helm-tests.log
kubectl -n openwhisk logs -lname=ow4travis-alarmprovider >& logs/kafkaprovider.log
kubectl -n openwhisk logs -lname=ow4travis-cloudantprovider >& logs/cloudantprovider.log
kubectl -n openwhisk logs -lname=ow4travis-kafkaprovider >& logs/kafkaprovider.log
kubectl -n openwhisk logs -lname=ow4travis-user-events >& logs/user-events.log
kubectl -n openwhisk logs -lname=ow4travis-prometheus >& logs/prometheus.log
Expand Down
1 change: 0 additions & 1 deletion tools/travis/deploy-chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,4 @@ jobHealthCheck "ow4travis-install-packages"

# Verify that the providers deployed successfully
deploymentHealthCheck "ow4travis-alarmprovider"
deploymentHealthCheck "ow4travis-cloudantprovider"
deploymentHealthCheck "ow4travis-kafkaprovider"