From 02260c2a47a079ee8ea00a987af47ff45dddb8f3 Mon Sep 17 00:00:00 2001 From: Ryan Raasch Date: Sun, 19 May 2024 11:40:28 +0200 Subject: [PATCH 1/2] Add minio-operator. --- .github/workflows/main.yml | 41 ++++++++++++++++++++++++++++++ libs/minio-operator/config.jsonnet | 26 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libs/minio-operator/config.jsonnet diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c988c1c..abcf456 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1819,6 +1819,46 @@ "SSH_KEY": "${{ secrets.DEPLOY_KEY }}" "if": "steps.filter.outputs.workflows == 'true'" "run": "make libs/litmus-chaos" + "minio-operator": + "name": "Generate minio-operator Jsonnet library and docs" + "needs": + - "build" + - "repos" + "runs-on": "ubuntu-latest" + "steps": + - "uses": "actions/checkout@v3" + - "id": "filter" + "uses": "dorny/paths-filter@v2" + "with": + "filters": | + workflows: + - '.github/**' + - 'bin/**' + - 'Dockerfile' + - 'go.mod' + - 'go.sum' + - 'jsonnet/**' + - 'main.go' + - 'Makefile' + - 'pkg/**' + - 'scripts/**' + - 'tf/**' + - 'libs/minio-operator/**' + - "if": "steps.filter.outputs.workflows == 'true'" + "uses": "actions/download-artifact@v2" + "with": + "name": "docker-artifact" + "path": "artifacts" + - "if": "steps.filter.outputs.workflows == 'true'" + "run": "make load" + - "env": + "DIFF": "true" + "GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}" + "GIT_COMMITTER_EMAIL": "86770550+jsonnet-libs-bot@users.noreply.github.com" + "GIT_COMMITTER_NAME": "jsonnet-libs-bot" + "SSH_KEY": "${{ secrets.DEPLOY_KEY }}" + "if": "steps.filter.outputs.workflows == 'true'" + "run": "make libs/minio-operator" "mysql-operator": "name": "Generate mysql-operator Jsonnet library and docs" "needs": @@ -2103,6 +2143,7 @@ - "kubevela" - "kyverno" - "litmus-chaos" + - "minio-operator" - "mysql-operator" - "openshift" - "prometheus-operator" diff --git a/libs/minio-operator/config.jsonnet b/libs/minio-operator/config.jsonnet new file mode 100644 index 0000000..972f3b4 --- /dev/null +++ b/libs/minio-operator/config.jsonnet @@ -0,0 +1,26 @@ +local config = import 'jsonnet/config.jsonnet'; +local versions = [ + 'v5.0.15', + 'v5.0.14', + 'v5.0.13', + 'v5.0.12', + 'v5.0.11' +]; + +config.new( + name='minio-operator', + specs=[ + { + output: v, + prefix: '^com\\.authzed\\..*', + crds: [ + 'https://raw.githubusercontent.com/minio/operator/%s/resources/base/crds/job.min.io_miniojobs.yaml' % v, + 'https://raw.githubusercontent.com/minio/operator/%s/resources/base/crds/minio.min.io_tenants.yaml' % v, + 'https://raw.githubusercontent.com/minio/operator/%s/resources/base/crds/sts.min.io_policybindings.yaml.yaml' % v, + ], + localName: 'minio-operator', + } + for v in versions + ] +) + From 2ebb22993a7624d12778dd076d459bb36820b26b Mon Sep 17 00:00:00 2001 From: Ryan Raasch Date: Sun, 19 May 2024 11:52:34 +0200 Subject: [PATCH 2/2] Update Rabbitmq with newer versions >= 2.6.0 <= 2.9.0 --- libs/rabbitmq/config.jsonnet | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/rabbitmq/config.jsonnet b/libs/rabbitmq/config.jsonnet index cfb7312..68055b9 100644 --- a/libs/rabbitmq/config.jsonnet +++ b/libs/rabbitmq/config.jsonnet @@ -4,6 +4,10 @@ local versions = [ { tag: "1.14.0", version: "1.14" } { tag: "2.0.0", version: "2.0" }, { tag: "2.1.0", version: "2.1" }, + { tag: "2.6.0", version: "2.6" }, + { tag: "2.7.0", version: "2.7" }, + { tag: "2.8.0", version: "2.8" }, + { tag: "2.9.0", version: "2.9" }, ];