Skip to content

Commit

Permalink
Merge branch 'main' into fix-run-once
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser authored Oct 13, 2023
2 parents b3a8072 + 8a87b2b commit eee9816
Show file tree
Hide file tree
Showing 293 changed files with 128,288 additions and 3,653 deletions.
3 changes: 3 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ exclude_paths:
- .github
- charts
- molecule
- roles/cluster_api/files/providers
skip_list:
- role-name
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: docs

on:
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3

- name: Install Earthly
uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build image
run: earthly --secret GITHUB_TOKEN +mkdocs-build
env:
EARTHLY_CI: true
EARTHLY_PUSH: "${{ github.event_name == 'push' }}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
fail-fast: false
matrix:
scenario:
- cluster-api
- cluster-api-upgrade
- containerd
- helm
- upload-helm-chart
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.4.0"
".": "1.10.0"
}
138 changes: 138 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,143 @@
# Changelog

## [1.10.0](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.9.1...v1.10.0) (2023-10-13)


### Features

* upgrade CAPI version to 1.5.1 ([#62](https://github.com/vexxhost/ansible-collection-kubernetes/issues/62)) ([65f8a63](https://github.com/vexxhost/ansible-collection-kubernetes/commit/65f8a63ea06d062334822330f3d958f98d5f7e2a))

## [1.9.1](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.9.0...v1.9.1) (2023-09-25)


### Bug Fixes

* Update CAPO version ([#58](https://github.com/vexxhost/ansible-collection-kubernetes/issues/58)) ([c204d44](https://github.com/vexxhost/ansible-collection-kubernetes/commit/c204d448d535d7442e97549d4980d85c429cf22a))


### Documentation

* add upgrade docs ([#40](https://github.com/vexxhost/ansible-collection-kubernetes/issues/40)) ([e9cb5dd](https://github.com/vexxhost/ansible-collection-kubernetes/commit/e9cb5dd8dfdca8f2872eccd37fe26707a0b44dca))

## [1.9.0](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.8.2...v1.9.0) (2023-09-15)


### Features

* add offline installs for capi ([#56](https://github.com/vexxhost/ansible-collection-kubernetes/issues/56)) ([cdf3ddb](https://github.com/vexxhost/ansible-collection-kubernetes/commit/cdf3ddbca0b1da08ee73885de45ac4456d9f2c56))

## [1.8.2](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.8.1...v1.8.2) (2023-09-06)


### Bug Fixes

* loosen kubernetes.core to above 2.3.2 ([f7ce48f](https://github.com/vexxhost/ansible-collection-kubernetes/commit/f7ce48fa3d61949d9ae9c75f8d1fb6efd7e59733))

## [1.8.1](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.8.0...v1.8.1) (2023-08-23)


### Bug Fixes

* Set default values for imagePullPolicy in kubeadmConfigSpec of CRDs ([ebf9dd1](https://github.com/vexxhost/ansible-collection-kubernetes/commit/ebf9dd100ef133153d1632e786a771440bc0d420))

## [1.8.0](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.7.2...v1.8.0) (2023-07-26)


### Features

* Set node selector for CAPI components ([6719b63](https://github.com/vexxhost/ansible-collection-kubernetes/commit/6719b639696c067ad70030dd0c11b8279470b91e))

## [1.7.2](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.7.1...v1.7.2) (2023-07-21)


### Bug Fixes

* use kubelet_hostname instead of inventory_hostname_short ([5c08c72](https://github.com/vexxhost/ansible-collection-kubernetes/commit/5c08c72a944c2cc53f1eca09eecf7112b6805a53))
* use SSH ARGs from command line if provided ([39fcd5c](https://github.com/vexxhost/ansible-collection-kubernetes/commit/39fcd5c14ade33f17ae79a942ffcb748689c6724))

## [1.7.1](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.7.1...v1.7.1) (2023-07-05)


### Features

* add capi ([6f5a8f1](https://github.com/vexxhost/ansible-collection-kubernetes/commit/6f5a8f149c043e8ad285f34eab0a0e247dd7cb4b))
* **helm:** add role ([a3e74bc](https://github.com/vexxhost/ansible-collection-kubernetes/commit/a3e74bc086d4352e69820dddf8ea5e1f2dd3a8f2))
* **k8s:** add roles ([#2](https://github.com/vexxhost/ansible-collection-kubernetes/issues/2)) ([7d883be](https://github.com/vexxhost/ansible-collection-kubernetes/commit/7d883be1c411d4eb5a9f43c443f21f37c8390650))
* **role:cilium:** Upgrade cilium version ([e783aad](https://github.com/vexxhost/ansible-collection-kubernetes/commit/e783aad4190a797c3037849f176e07b179aace23))
* support multiple k8s versions ([7b03230](https://github.com/vexxhost/ansible-collection-kubernetes/commit/7b03230dbc29869df921c90fb59c9ce6bd5feab8))
* update CAPI release ([faf7048](https://github.com/vexxhost/ansible-collection-kubernetes/commit/faf7048aa167314b850b1b4fff817472d5688b4c))


### Bug Fixes

* add checksums + linters ([e1956c1](https://github.com/vexxhost/ansible-collection-kubernetes/commit/e1956c1d0e32835ff5f9ebb877ec4911459277bc))
* add synchornize workaround ([db81203](https://github.com/vexxhost/ansible-collection-kubernetes/commit/db81203c80ba2e37f0a04054861fa1db8f306558))
* adjust package dependencies for rocky linux ([c698d41](https://github.com/vexxhost/ansible-collection-kubernetes/commit/c698d413591fc10838133e0c4b22e1113ea358f7))
* avoid trailing slash with prefix ([5a3f11e](https://github.com/vexxhost/ansible-collection-kubernetes/commit/5a3f11e6bf9601adc03e014aab8857742e1a9e24))
* bump cilium version ([5b12aeb](https://github.com/vexxhost/ansible-collection-kubernetes/commit/5b12aeb647a15b6f83513752897ad449741daca4))
* **containerd:** bump to 100G ([858e977](https://github.com/vexxhost/ansible-collection-kubernetes/commit/858e977e4a8532a5375422f140cb120183ef6648))
* **containerd:** properly forget package ([2bbb2f7](https://github.com/vexxhost/ansible-collection-kubernetes/commit/2bbb2f7eb9c96c48df8cde99d57a2d74fc5f95b8))
* **containerd:** re-add missing containerd_download_unarchive_dest ([74a58af](https://github.com/vexxhost/ansible-collection-kubernetes/commit/74a58afa0616fe6c27c45bd571de7f50473eca52))
* forget packages instead of remove them ([eda79d4](https://github.com/vexxhost/ansible-collection-kubernetes/commit/eda79d4551f3764df0e7747c39a48c3b565a020b))
* **helm:** install curl-minimal for el9 ([420af8a](https://github.com/vexxhost/ansible-collection-kubernetes/commit/420af8a87b16453c63630ae676dbc56f68db679f))
* idempotence ([3d05147](https://github.com/vexxhost/ansible-collection-kubernetes/commit/3d0514753f2393c16cc0e65bd770855280133978))
* make kube component versioning consistent ([8d6df7e](https://github.com/vexxhost/ansible-collection-kubernetes/commit/8d6df7e82794b9337da12d5fcf46ae865b1d8c44))
* only override if registry isn't default ([3270fdd](https://github.com/vexxhost/ansible-collection-kubernetes/commit/3270fdddaed5d86e8c133dce510939af6154bfbf))
* refactor {atmosphere,kubernetes}_image_repository ([4ffc20b](https://github.com/vexxhost/ansible-collection-kubernetes/commit/4ffc20bd032715c953cca91c32843db9fd70e5d1))
* restore symlinks ([7648382](https://github.com/vexxhost/ansible-collection-kubernetes/commit/76483827bd1aef073b280ebce2b573ea3714df14))
* revert distro package dependencies ([761277a](https://github.com/vexxhost/ansible-collection-kubernetes/commit/761277a7478d6978f254ac07ba381ddfab9a6ae1))
* rhel9 ulimit for containerd ([8403e6f](https://github.com/vexxhost/ansible-collection-kubernetes/commit/8403e6f8020a371d6d3d0db27269303d6a5d84f8))


### Miscellaneous Chores

* release 1.7.1 ([c80912b](https://github.com/vexxhost/ansible-collection-kubernetes/commit/c80912bf15c06ef98ecef9315438d3ee64549457))

## [1.7.1](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.7.0...v1.7.1) (2023-07-05)


### Miscellaneous Chores

* release 1.7.1 ([c80912b](https://github.com/vexxhost/ansible-collection-kubernetes/commit/c80912bf15c06ef98ecef9315438d3ee64549457))

## [1.7.0](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.6.0...v1.7.0) (2023-07-01)


### Features

* update CAPI release ([faf7048](https://github.com/vexxhost/ansible-collection-kubernetes/commit/faf7048aa167314b850b1b4fff817472d5688b4c))


### Bug Fixes

* add checksums + linters ([e1956c1](https://github.com/vexxhost/ansible-collection-kubernetes/commit/e1956c1d0e32835ff5f9ebb877ec4911459277bc))

## [1.6.0](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.5.1...v1.6.0) (2023-06-22)


### Features

* **role:cilium:** Upgrade cilium version ([e783aad](https://github.com/vexxhost/ansible-collection-kubernetes/commit/e783aad4190a797c3037849f176e07b179aace23))


### Bug Fixes

* **containerd:** properly forget package ([2bbb2f7](https://github.com/vexxhost/ansible-collection-kubernetes/commit/2bbb2f7eb9c96c48df8cde99d57a2d74fc5f95b8))

## [1.5.1](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.5.0...v1.5.1) (2023-04-26)


### Bug Fixes

* **containerd:** bump to 100G ([858e977](https://github.com/vexxhost/ansible-collection-kubernetes/commit/858e977e4a8532a5375422f140cb120183ef6648))

## [1.5.0](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.4.0...v1.5.0) (2023-04-25)


### Features

* add capi ([6f5a8f1](https://github.com/vexxhost/ansible-collection-kubernetes/commit/6f5a8f149c043e8ad285f34eab0a0e247dd7cb4b))

## [1.3.3](https://github.com/vexxhost/ansible-collection-kubernetes/compare/v1.3.2...v1.3.3) (2023-03-28)


Expand Down
69 changes: 69 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
VERSION 0.7

CURL_IF_UPDATED:
COMMAND
ARG --required url
ARG --required path
RUN curl \
-sL ${url} \
-z ${path} \
-o ${path}

DOWNLOAD_PROVIDER:
COMMAND
ARG --required repository
ARG --required type
ARG name
ARG --required version
ARG path=${type}-${name}
RUN mkdir -p roles/cluster_api/files/providers/${path}/${version}
DO +CURL_IF_UPDATED \
--url=https://github.com/${repository}/releases/download/${version}/${type}-components.yaml \
--path=roles/cluster_api/files/providers/${path}/${version}/${type}-components.yaml
DO +CURL_IF_UPDATED \
--url=https://github.com/${repository}/releases/download/${version}/metadata.yaml \
--path=roles/cluster_api/files/providers/${path}/${version}/metadata.yaml

vendor.cluster-api:
LOCALLY
ARG capi=v$(grep cluster_api_core_version roles/cluster_api/defaults/main.yml | cut -d' ' -f2)
ARG capo=v$(grep cluster_api_infrastructure_version roles/cluster_api/defaults/main.yml | cut -d' ' -f2)
DO +DOWNLOAD_PROVIDER \
--repository=kubernetes-sigs/cluster-api \
--type=core \
--path=cluster-api \
--version=${capi}
DO +DOWNLOAD_PROVIDER \
--repository=kubernetes-sigs/cluster-api \
--type=bootstrap \
--name=kubeadm \
--version=${capi}
DO +DOWNLOAD_PROVIDER \
--repository=kubernetes-sigs/cluster-api \
--type=control-plane \
--name=kubeadm \
--version=${capi}
DO +DOWNLOAD_PROVIDER \
--repository=kubernetes-sigs/cluster-api-provider-openstack \
--type=infrastructure \
--name=openstack \
--version=${capo}

mkdocs-image:
FROM squidfunk/mkdocs-material:9.1.15
RUN pip install \
mkdocs-literate-nav
SAVE IMAGE mkdocs

mkdocs-serve:
LOCALLY
WITH DOCKER --load=+mkdocs-image
RUN docker run --rm -p 8000:8000 -v ${PWD}:/docs mkdocs
END

mkdocs-build:
FROM +mkdocs-image
COPY . /docs
RUN mkdocs build
RUN --push --secret GITHUB_TOKEN git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/vexxhost/ansible-collection-kubernetes.git
RUN --push mkdocs gh-deploy --force
19 changes: 19 additions & 0 deletions charts/cert-manager/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
annotations:
artifacthub.io/prerelease: "false"
apiVersion: v1
appVersion: v1.7.1
description: A Helm chart for cert-manager
home: https://github.com/jetstack/cert-manager
icon: https://raw.githubusercontent.com/jetstack/cert-manager/master/logo/logo.png
keywords:
- cert-manager
- kube-lego
- letsencrypt
- tls
maintainers:
- email: [email protected]
name: cert-manager-maintainers
name: cert-manager
sources:
- https://github.com/jetstack/cert-manager
version: v1.7.1
Loading

0 comments on commit eee9816

Please sign in to comment.