diff --git a/examples/phabricator/cloudsql-authenticator/run.sh b/examples/phabricator/cloudsql-authenticator/run.sh index d21f4737d68..82307825748 100755 --- a/examples/phabricator/cloudsql-authenticator/run.sh +++ b/examples/phabricator/cloudsql-authenticator/run.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # TODO: This loop updates authorized networks even if nothing has changed. It # should only send updates if something changes. We should be able to do # this by comparing pod creation time with the last scan time. diff --git a/examples/phabricator/php-phabricator/run.sh b/examples/phabricator/php-phabricator/run.sh index d6a1d68df4b..abbfff611ba 100755 --- a/examples/phabricator/php-phabricator/run.sh +++ b/examples/phabricator/php-phabricator/run.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + echo "MySQL host IP ${MYSQL_SERVICE_IP} port ${MYSQL_SERVICE_PORT}." /home/www-data/phabricator/bin/config set mysql.host $MYSQL_SERVICE_IP /home/www-data/phabricator/bin/config set mysql.port $MYSQL_SERVICE_PORT diff --git a/examples/phabricator/setup.sh b/examples/phabricator/setup.sh index d3c99616432..860c93f0896 100755 --- a/examples/phabricator/setup.sh +++ b/examples/phabricator/setup.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + echo "Create Phabricator replication controller" && kubectl create -f phabricator-controller.json echo "Create Phabricator service" && kubectl create -f phabricator-service.json echo "Create Authenticator replication controller" && kubectl create -f authenticator-controller.json diff --git a/examples/phabricator/teardown.sh b/examples/phabricator/teardown.sh index 685678581f1..884c5f4bddf 100755 --- a/examples/phabricator/teardown.sh +++ b/examples/phabricator/teardown.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2015 The Kubernetes Authors All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + echo "Deleting Authenticator replication controller" && kubectl stop rc authenticator-controller echo "Deleting Phabricator service" && kubectl delete -f phabricator-service.json echo "Deleting Phabricator replication controller" && kubectl stop rc phabricator-controller