This is an automated email from the ASF dual-hosted git repository. shahar1 pushed a commit to branch gha-arc-rebase in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git
commit f4c9e61a708b74cfb9f07a0874645352e30aa279 Author: Hussein Awala <[email protected]> AuthorDate: Sat Jul 22 13:49:54 2023 +0200 Add license for helm files --- helm/ci-helmfile.yaml | 16 +++++++++++++++ helm/cluster-config/Chart.yaml | 17 ++++++++++++++++ helm/cluster-config/templates/namespaces/ci.yaml | 23 ++++++++++++++++++++++ .../cluster-config/templates/namespaces/infra.yaml | 23 ++++++++++++++++++++++ helm/cluster-config/values.yaml | 18 ++++++++++++++++- helm/infra-helmfile.yaml | 16 +++++++++++++++ helm/runners-config/Chart.yaml | 17 ++++++++++++++++ helm/runners-config/templates/runners.yaml | 23 ++++++++++++++++++++++ helm/runners-config/values.yaml | 17 ++++++++++++++++ helm/values/actions-runner-controller.yaml | 17 ++++++++++++++++ helm/values/cert-manager.yaml | 17 ++++++++++++++++ helm/values/cluster-autoscaler.yaml | 17 ++++++++++++++++ 12 files changed, 220 insertions(+), 1 deletion(-) diff --git a/helm/ci-helmfile.yaml b/helm/ci-helmfile.yaml index 535a103..f291977 100644 --- a/helm/ci-helmfile.yaml +++ b/helm/ci-helmfile.yaml @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. --- repositories: - name: actions-runner-controller diff --git a/helm/cluster-config/Chart.yaml b/helm/cluster-config/Chart.yaml index e4a7e18..c912d2c 100644 --- a/helm/cluster-config/Chart.yaml +++ b/helm/cluster-config/Chart.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +--- apiVersion: v2 name: cluster-config description: A Helm chart to manage the EKS cluster diff --git a/helm/cluster-config/templates/namespaces/ci.yaml b/helm/cluster-config/templates/namespaces/ci.yaml index feecd98..17618e6 100644 --- a/helm/cluster-config/templates/namespaces/ci.yaml +++ b/helm/cluster-config/templates/namespaces/ci.yaml @@ -1,3 +1,26 @@ +{{/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/}} + +################################################################################ +# ci namespace where we create the CI resources +################################################################################ + apiVersion: v1 kind: Namespace metadata: diff --git a/helm/cluster-config/templates/namespaces/infra.yaml b/helm/cluster-config/templates/namespaces/infra.yaml index 58ff182..0b1abb4 100644 --- a/helm/cluster-config/templates/namespaces/infra.yaml +++ b/helm/cluster-config/templates/namespaces/infra.yaml @@ -1,3 +1,26 @@ +{{/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/}} + +################################################################################ +# infra namespace where we create the infrastructure resources +################################################################################ + apiVersion: v1 kind: Namespace metadata: diff --git a/helm/cluster-config/values.yaml b/helm/cluster-config/values.yaml index 8b13789..d6bc559 100644 --- a/helm/cluster-config/values.yaml +++ b/helm/cluster-config/values.yaml @@ -1 +1,17 @@ - +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +--- \ No newline at end of file diff --git a/helm/infra-helmfile.yaml b/helm/infra-helmfile.yaml index a2831cb..c25a507 100644 --- a/helm/infra-helmfile.yaml +++ b/helm/infra-helmfile.yaml @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. --- repositories: - name: jetstack diff --git a/helm/runners-config/Chart.yaml b/helm/runners-config/Chart.yaml index bc30b4f..7113941 100644 --- a/helm/runners-config/Chart.yaml +++ b/helm/runners-config/Chart.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +--- apiVersion: v2 name: runners-config description: A Helm chart to manage the ARC runners diff --git a/helm/runners-config/templates/runners.yaml b/helm/runners-config/templates/runners.yaml index 2b837f7..3577de0 100644 --- a/helm/runners-config/templates/runners.yaml +++ b/helm/runners-config/templates/runners.yaml @@ -1,3 +1,26 @@ +{{/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. +*/}} + +################################################################################ +# Airflow GitHub Actions Runner Deployments and HRAutoscaler +################################################################################ + {{ $values := .Values }} {{ range $runner := $values.runners }} --- diff --git a/helm/runners-config/values.yaml b/helm/runners-config/values.yaml index 3cff786..2a500b3 100644 --- a/helm/runners-config/values.yaml +++ b/helm/runners-config/values.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +--- githubRepository: hussein-awala/airflow scaleDownDelaySecondsAfterScaleOut: 30 diff --git a/helm/values/actions-runner-controller.yaml b/helm/values/actions-runner-controller.yaml index c5c605b..da61b02 100644 --- a/helm/values/actions-runner-controller.yaml +++ b/helm/values/actions-runner-controller.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +--- replicaCount: 1 labels: diff --git a/helm/values/cert-manager.yaml b/helm/values/cert-manager.yaml index 5639d65..668cde0 100644 --- a/helm/values/cert-manager.yaml +++ b/helm/values/cert-manager.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +--- installCRDs: true nodeSelector: node-type: default \ No newline at end of file diff --git a/helm/values/cluster-autoscaler.yaml b/helm/values/cluster-autoscaler.yaml index b3c73e9..c955a7c 100644 --- a/helm/values/cluster-autoscaler.yaml +++ b/helm/values/cluster-autoscaler.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +--- cloudProvider: aws awsRegion: us-east-2
