From 908e2aa926bbbe77e49f784cbcf4c7755a288b9e Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Thu, 4 Oct 2018 10:29:33 +0200 Subject: [PATCH] Added MIT LICENSE --- LICENSE | 21 +++++++++++++++++++++ README.md | 3 +++ gitlab-ci/rbac.yaml | 1 + main.go | 24 ++++++++++++++++++++++++ manifests/deployment.yaml | 1 + manifests/ingress.yaml | 1 + manifests/service.yaml | 1 + 7 files changed, 52 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9c80da6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Alexander Trost + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index a44b51b..05d55da 100644 --- a/README.md +++ b/README.md @@ -101,3 +101,6 @@ As of GitLab `10.3` the Kubernetes Integration is marked as deprecated and with ## Thanks! Thanks to [@shadycuz - GitHub](https://github.com/shadycuz) for his comments with improvements for the code in this repository! + +## License +The files in this repo can be used under the MIT license, see [LICENSE](/LICENSE) file. diff --git a/gitlab-ci/rbac.yaml b/gitlab-ci/rbac.yaml index 81932a7..14ec925 100644 --- a/gitlab-ci/rbac.yaml +++ b/gitlab-ci/rbac.yaml @@ -1,3 +1,4 @@ +--- apiVersion: v1 kind: ServiceAccount metadata: diff --git a/main.go b/main.go index cdbf454..66e119e 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,27 @@ +/* +MIT License + +Copyright (c) 2018 Alexander Trost + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + package main import ( diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index ae7b7ef..316ab70 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -1,3 +1,4 @@ +--- apiVersion: apps/v1 kind: Deployment metadata: diff --git a/manifests/ingress.yaml b/manifests/ingress.yaml index fbb4ae8..0f6dd72 100644 --- a/manifests/ingress.yaml +++ b/manifests/ingress.yaml @@ -1,3 +1,4 @@ +--- apiVersion: extensions/v1beta1 kind: Ingress metadata: diff --git a/manifests/service.yaml b/manifests/service.yaml index aff84b5..cb3c976 100644 --- a/manifests/service.yaml +++ b/manifests/service.yaml @@ -1,3 +1,4 @@ +--- apiVersion: v1 kind: Service metadata: