You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/05/16 18:02:24 UTC

[GitHub] mrutkows closed pull request #198: Add minified Apache license header to all yaml and yml files

mrutkows closed pull request #198: Add minified Apache license header to all yaml and yml files
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/pull/198
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/helm/Chart.yaml b/helm/Chart.yaml
index 4a3f712..889345c 100644
--- a/helm/Chart.yaml
+++ b/helm/Chart.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 description: A Helm chart to deploy Apache OpenWhisk for Kubernetes
 name: openwhisk
diff --git a/helm/templates/_affinity.tpl b/helm/templates/_affinity.tpl
index efa0d73..237bdc5 100644
--- a/helm/templates/_affinity.tpl
+++ b/helm/templates/_affinity.tpl
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # This file defines template snippets for scheduler affinity and anti-affinity
 
 {{/* Generic core affinity */}}
diff --git a/helm/templates/_helpers.tpl b/helm/templates/_helpers.tpl
index 917d311..ddffc1a 100644
--- a/helm/templates/_helpers.tpl
+++ b/helm/templates/_helpers.tpl
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 {{/* hostname for apigateway */}}
 {{- define "apigw_host" -}}
 {{ .Values.apigw.name }}.{{ .Release.Namespace }}.svc.cluster.local
diff --git a/helm/templates/_readiness.tpl b/helm/templates/_readiness.tpl
index f9e4174..8e53ec0 100644
--- a/helm/templates/_readiness.tpl
+++ b/helm/templates/_readiness.tpl
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 {{/* Init container that waits for couchdb to be ready */}}
 {{- define "readiness.waitForCouchDB" -}}
 - name: "wait-for-couchdb"
diff --git a/helm/templates/apigateway.yaml b/helm/templates/apigateway.yaml
index 6878eaf..15a698c 100644
--- a/helm/templates/apigateway.yaml
+++ b/helm/templates/apigateway.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: v1
 kind: Service
diff --git a/helm/templates/cluster_config.yaml b/helm/templates/cluster_config.yaml
index 7c71c7a..c2c4220 100644
--- a/helm/templates/cluster_config.yaml
+++ b/helm/templates/cluster_config.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: v1
 kind: ConfigMap
diff --git a/helm/templates/controller.yaml b/helm/templates/controller.yaml
index 2c1e657..1eb208a 100644
--- a/helm/templates/controller.yaml
+++ b/helm/templates/controller.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: v1
 kind: Service
diff --git a/helm/templates/couchdb.yaml b/helm/templates/couchdb.yaml
index 268f9f6..e87c46c 100644
--- a/helm/templates/couchdb.yaml
+++ b/helm/templates/couchdb.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: Service
 metadata:
diff --git a/helm/templates/install_catalog_job.yaml b/helm/templates/install_catalog_job.yaml
index d845f4f..fab30d0 100644
--- a/helm/templates/install_catalog_job.yaml
+++ b/helm/templates/install_catalog_job.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: batch/v1
 kind: Job
 metadata:
diff --git a/helm/templates/install_routemgmt_job.yaml b/helm/templates/install_routemgmt_job.yaml
index b90d13f..2ef1768 100644
--- a/helm/templates/install_routemgmt_job.yaml
+++ b/helm/templates/install_routemgmt_job.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: batch/v1
 kind: Job
 metadata:
diff --git a/helm/templates/invoker.yaml b/helm/templates/invoker.yaml
index ed3e97a..d5ac64e 100644
--- a/helm/templates/invoker.yaml
+++ b/helm/templates/invoker.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: extensions/v1beta1
 kind: DaemonSet
 metadata:
diff --git a/helm/templates/kafka.yaml b/helm/templates/kafka.yaml
index dc1a600..844a937 100644
--- a/helm/templates/kafka.yaml
+++ b/helm/templates/kafka.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: Service
 metadata:
diff --git a/helm/templates/nginx.yaml b/helm/templates/nginx.yaml
index 9110fb4..0b002da 100644
--- a/helm/templates/nginx.yaml
+++ b/helm/templates/nginx.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: Service
 metadata:
diff --git a/helm/templates/nginx_configmap.yaml b/helm/templates/nginx_configmap.yaml
index 0113cff..deba934 100644
--- a/helm/templates/nginx_configmap.yaml
+++ b/helm/templates/nginx_configmap.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: ConfigMap
 metadata:
diff --git a/helm/templates/nginx_secret.yaml b/helm/templates/nginx_secret.yaml
index 7f1e9a1..48f563a 100644
--- a/helm/templates/nginx_secret.yaml
+++ b/helm/templates/nginx_secret.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: Secret
 metadata:
diff --git a/helm/templates/zookeeper.yaml b/helm/templates/zookeeper.yaml
index 66b7f19..3861d59 100644
--- a/helm/templates/zookeeper.yaml
+++ b/helm/templates/zookeeper.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: Service
 metadata:
diff --git a/helm/values.yaml b/helm/values.yaml
index c8cf6c2..5d28497 100644
--- a/helm/values.yaml
+++ b/helm/values.yaml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # Default values for OpenWhisk.
 
 # Overall system configuration
diff --git a/kubernetes/apigateway/apigateway.yml b/kubernetes/apigateway/apigateway.yml
index 7aa8eea..4a4f5bf 100644
--- a/kubernetes/apigateway/apigateway.yml
+++ b/kubernetes/apigateway/apigateway.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: extensions/v1beta1
 kind: Deployment
diff --git a/kubernetes/cluster-setup/namespace.yml b/kubernetes/cluster-setup/namespace.yml
index fbb5f1b..75dfb80 100644
--- a/kubernetes/cluster-setup/namespace.yml
+++ b/kubernetes/cluster-setup/namespace.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 kind: Namespace
 apiVersion: v1
 metadata:
diff --git a/kubernetes/cluster-setup/persistent-volumes.yml b/kubernetes/cluster-setup/persistent-volumes.yml
index 89df09a..2beb87a 100644
--- a/kubernetes/cluster-setup/persistent-volumes.yml
+++ b/kubernetes/cluster-setup/persistent-volumes.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: PersistentVolume
 metadata:
diff --git a/kubernetes/cluster-setup/services.yml b/kubernetes/cluster-setup/services.yml
index e88cfb7..2d82850 100644
--- a/kubernetes/cluster-setup/services.yml
+++ b/kubernetes/cluster-setup/services.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ########
 # First define services that are exposed via Ingresses to the outside world
 ########
diff --git a/kubernetes/controller/controller.yml b/kubernetes/controller/controller.yml
index c647361..55d4ca2 100644
--- a/kubernetes/controller/controller.yml
+++ b/kubernetes/controller/controller.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: apps/v1beta1
 kind: StatefulSet
diff --git a/kubernetes/couchdb/couchdb.yml b/kubernetes/couchdb/couchdb.yml
index 2b9dd81..65a47de 100644
--- a/kubernetes/couchdb/couchdb.yml
+++ b/kubernetes/couchdb/couchdb.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # The couchdb service is defined here instead of in cluster-config/services
 # because some deployments will not put the database within the kube cluster.
 ---
diff --git a/kubernetes/ingress/ingress-ibm.yml b/kubernetes/ingress/ingress-ibm.yml
index 0947c34..959f8fe 100644
--- a/kubernetes/ingress/ingress-ibm.yml
+++ b/kubernetes/ingress/ingress-ibm.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: extensions/v1beta1
 kind: Ingress
 metadata:
diff --git a/kubernetes/ingress/ingress-simple.yml b/kubernetes/ingress/ingress-simple.yml
index fba89ea..14162eb 100644
--- a/kubernetes/ingress/ingress-simple.yml
+++ b/kubernetes/ingress/ingress-simple.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: extensions/v1beta1
 kind: Ingress
 metadata:
diff --git a/kubernetes/invoker/invoker-agent.yml b/kubernetes/invoker/invoker-agent.yml
index 80cdd74..32f958a 100644
--- a/kubernetes/invoker/invoker-agent.yml
+++ b/kubernetes/invoker/invoker-agent.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: extensions/v1beta1
 kind: DaemonSet
diff --git a/kubernetes/invoker/invoker-dcf.yml b/kubernetes/invoker/invoker-dcf.yml
index 4314ee8..28d8c98 100644
--- a/kubernetes/invoker/invoker-dcf.yml
+++ b/kubernetes/invoker/invoker-dcf.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: extensions/v1beta1
 kind: DaemonSet
diff --git a/kubernetes/invoker/invoker-k8scf.yml b/kubernetes/invoker/invoker-k8scf.yml
index d5abcc5..3ce7e1d 100644
--- a/kubernetes/invoker/invoker-k8scf.yml
+++ b/kubernetes/invoker/invoker-k8scf.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: v1
 kind: ServiceAccount
 metadata:
diff --git a/kubernetes/kafka/kafka.yml b/kubernetes/kafka/kafka.yml
index 621ba5e..535ed12 100644
--- a/kubernetes/kafka/kafka.yml
+++ b/kubernetes/kafka/kafka.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: extensions/v1beta1
 kind: Deployment
diff --git a/kubernetes/loadtest/loadtest-latency-internal.yml b/kubernetes/loadtest/loadtest-latency-internal.yml
index 972eab5..0b77c16 100644
--- a/kubernetes/loadtest/loadtest-latency-internal.yml
+++ b/kubernetes/loadtest/loadtest-latency-internal.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # This Job measures internal latency (no ingress, no TLS termination) by
 # hitting the controller service directly.
 
diff --git a/kubernetes/loadtest/loadtest-latency.yml b/kubernetes/loadtest/loadtest-latency.yml
index 7a70adc..213086c 100644
--- a/kubernetes/loadtest/loadtest-latency.yml
+++ b/kubernetes/loadtest/loadtest-latency.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # This Job measures end-to-end latency by hitting the public ingress.
 
 apiVersion: batch/v1
diff --git a/kubernetes/loadtest/loadtest-throughput.yml b/kubernetes/loadtest/loadtest-throughput.yml
index a136a2f..5a9ca11 100644
--- a/kubernetes/loadtest/loadtest-throughput.yml
+++ b/kubernetes/loadtest/loadtest-throughput.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # This Job measures throughput obtainable by hitting the public ingress.
 
 apiVersion: batch/v1
diff --git a/kubernetes/nginx/nginx.yml b/kubernetes/nginx/nginx.yml
index 5b76834..db4cc66 100644
--- a/kubernetes/nginx/nginx.yml
+++ b/kubernetes/nginx/nginx.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: extensions/v1beta1
 kind: Deployment
diff --git a/kubernetes/openwhisk-catalog/install-catalog.yml b/kubernetes/openwhisk-catalog/install-catalog.yml
index 0037bd0..b4c38f3 100644
--- a/kubernetes/openwhisk-catalog/install-catalog.yml
+++ b/kubernetes/openwhisk-catalog/install-catalog.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: batch/v1
 kind: Job
 metadata:
diff --git a/kubernetes/package-kafka/kafkapkginstaller.yml b/kubernetes/package-kafka/kafkapkginstaller.yml
index 6f929cc..6f22e44 100644
--- a/kubernetes/package-kafka/kafkapkginstaller.yml
+++ b/kubernetes/package-kafka/kafkapkginstaller.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: batch/v1
 kind: Job
 metadata:
diff --git a/kubernetes/package-kafka/kafkaprovider.yml b/kubernetes/package-kafka/kafkaprovider.yml
index db9c51a..9bc4cfc 100644
--- a/kubernetes/package-kafka/kafkaprovider.yml
+++ b/kubernetes/package-kafka/kafkaprovider.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 ---
 apiVersion: extensions/v1beta1
 kind: Deployment
diff --git a/kubernetes/routemgmt/install-routemgmt.yml b/kubernetes/routemgmt/install-routemgmt.yml
index 1ad9d87..8bb0a5b 100644
--- a/kubernetes/routemgmt/install-routemgmt.yml
+++ b/kubernetes/routemgmt/install-routemgmt.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: batch/v1
 kind: Job
 metadata:
diff --git a/kubernetes/zookeeper/zookeeper.yml b/kubernetes/zookeeper/zookeeper.yml
index e513bd2..b411b71 100644
--- a/kubernetes/zookeeper/zookeeper.yml
+++ b/kubernetes/zookeeper/zookeeper.yml
@@ -1,3 +1,6 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services