Skip to content

Commit 9e63c5b

Browse files
Merge pull request #63 from cybozu-go/argocd-2.13.2
Bump Argo CD version from 2.11.7 to 2.13.2
2 parents 2dd3e38 + 165f030 commit 9e63c5b

File tree

14 files changed

+62
-64
lines changed

14 files changed

+62
-64
lines changed

.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Renovate
22
on:
33
schedule:
4-
- cron: '0 30 * * 1'
4+
- cron: '0 10 * * 1'
55
jobs:
66
renovate:
77
runs-on: ubuntu-latest

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tool versions
22
CTRL_RUNTIME_VERSION := $(shell awk '/sigs.k8s.io\/controller-runtime/ {print substr($$2, 2)}' go.mod)
3-
ARGOCD_VERSION = 2.11.7
3+
ARGOCD_VERSION = 2.13.2
44

55
# Test tools
66
BIN_DIR := $(shell pwd)/bin

aqua.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ registries:
55
- type: standard
66
ref: v4.218.0 # renovate: depName=aquaproj/aqua-registry
77
packages:
8-
- name: argoproj/argo-cd@v2.11.7
8+
- name: argoproj/argo-cd@v2.13.2
99
- name: kubernetes/[email protected]
1010
- name: kubernetes-sigs/[email protected]
1111
- name: kubernetes-sigs/kustomize@kustomize/v5.4.3

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Cattage is a Kubernetes controller that enhances the multi-tenancy of [Argo CD][] with [Accurate][].
44
It is currently developed and maintained by [Cybozu](https://cybozu-global.com/).
55

6-
The repository is at https://github.com/cybozu-go/cattage .
6+
The repository is at <https://github.com/cybozu-go/cattage> .
77

88
[Accurate]: https://github.com/cybozu-go/accurate
99
[Argo CD]: https://argo-cd.readthedocs.io/en/stable/

docs/SUMMARY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
[Cattage](README.md)
44

5-
# User manual
5+
## User manual
66

77
- [Overview](overview.md)
88
- [Setup](setup.md)
99
- [Usage](usage.md)
1010
- [Sharding](sharding.md)
1111

12-
# References
12+
## References
1313

1414
- [Tenant custom resource](crd_tenant.md)
1515
- [Configurations](config.md)
1616

17-
# Developer documents
17+
## Developer documents
1818

1919
- [Design notes](design.md)
2020
- [Development](development.md)

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ argocd:
106106

107107
## Command-line flags
108108

109-
```
109+
```txt
110110
Flags:
111111
--add_dir_header If true, adds the file directory to the header
112112
--alsologtostderr log to standard error as well as files

docs/design.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Cattage is a Kubernetes controller that enhances the multi-tenancy of [Argo CD][
88

99
There is a known limitation for Argo CD to implement app-of-apps pattern in a multi-tenancy environment.
1010

11-
https://github.com/argoproj/argo-cd/issues/2785
11+
<https://github.com/argoproj/argo-cd/issues/2785>
1212

1313
We have developed the following mechanism to resolve the problem.
1414

15-
https://blog.kintone.io/entry/production-grade-delivery-workflow-using-argocd#Multi-tenancy
15+
<https://blog.kintone.io/entry/production-grade-delivery-workflow-using-argocd#Multi-tenancy>
1616

1717
However, the mechanism still has the following problems:
1818

@@ -48,7 +48,7 @@ No more deploying to another tenant's namespace by mistake.
4848
There are cases where you want to move ownership of an application between tenants.
4949
Accurate supports `kubectl accurate sub move` command to change the parent of a sub-namespace.
5050

51-
https://cybozu-go.github.io/accurate/subnamespaces.html#changing-the-parent-of-a-sub-namespace
51+
<https://cybozu-go.github.io/accurate/subnamespaces.html#changing-the-parent-of-a-sub-namespace>
5252

5353
An administrators can use this command to move the sub-namespace to another tenant.
5454
The permission of AppProjects, Applications and Namespaces will be updated automatically.
@@ -59,15 +59,15 @@ The permission of AppProjects, Applications and Namespaces will be updated autom
5959

6060
ApplicationSet is one of the features of Argo CD which generates Application resources based on user input.
6161

62-
https://argo-cd.readthedocs.io/en/stable/user-guide/application-set/
62+
<https://argo-cd.readthedocs.io/en/stable/user-guide/application-set/>
6363

6464
However, this feature does not give tenant users enough flexibility in their settings.
6565

6666
### AppSource Controller
6767

6868
AppSource controller is similar to our proposal.
6969

70-
https://github.com/argoproj-labs/appsource
70+
<https://github.com/argoproj-labs/appsource>
7171

7272
But AppSource is still not production-ready.
7373
Also, it does not solve our some problems.
@@ -80,8 +80,8 @@ We considered having an Argo CD instance for each tenant team, but it turned out
8080

8181
Other Continuous Delivery tools support multi-tenancy.
8282

83-
- https://github.com/fluxcd/flux2
84-
- https://github.com/pipe-cd/pipe
83+
- <https://github.com/fluxcd/flux2>
84+
- <https://github.com/pipe-cd/pipe>
8585

8686
However, we love Argo CD (the many features and the useful UI).
8787
We already have a lot of manifests managed by Argo CD. It's hard to switch to another tool now.

docs/development.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,43 @@
33
1. Prepare a Linux box running Docker.
44
2. Checkout this repository.
55

6-
```console
7-
$ git clone https://github.com/cybozu-go/cattage
6+
```sh
7+
git clone https://github.com/cybozu-go/cattage
88
```
99

1010
## Setup CLI tools
1111

1212
1. Install [aqua][].
1313

14-
https://aquaproj.github.io/docs/tutorial-basics/quick-start
14+
<https://aquaproj.github.io/docs/tutorial-basics/quick-start>
1515

1616
2. Install CLI tools.
1717

18-
```console
19-
$ cd cybozu-go/cattage
20-
$ aqua i -l
18+
```sh
19+
cd cybozu-go/cattage
20+
aqua i -l
2121
```
2222

2323
## Development & Debug
2424

2525
1. Launch local Kubernetes cluster.
2626

27-
```console
28-
$ cd cybozu-go/cattage
29-
$ make dev
27+
```sh
28+
cd cybozu-go/cattage
29+
make dev
3030
```
3131

3232
2. Start [Tilt][].
3333

34-
```console
35-
$ tilt up
34+
```sh
35+
tilt up
3636
```
3737

38-
3. Access: http://localhost:10350/
38+
3. Access: `http://localhost:10350/`
3939
4. Stop the Kubernetes cluster.
4040

41-
```console
42-
$ make stop-dev
41+
```sh
42+
make stop-dev
4343
```
4444

4545
[aqua]: https://aquaproj.github.io

docs/maintenance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If Kubernetes or controller-runtime API has changed, please fix the relevant sou
1616
Cattage supports one Argo CD version.
1717
If a new Argo CD is released, please update the following files.
1818

19-
- Update Argo CD Version in `aqua.yaml`, `e2e/Makefile` and `Makefile`.
19+
- Update Argo CD Version in `aqua.yaml` and `Makefile`.
2020
- Run `make crds`.
2121

2222
If Argo CD API has changed, please fix the relevant source code.

docs/overview.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ Cattage is a Kubernetes controller that enhances the multi-tenancy of [Argo CD][
2828

2929
[Accurate]: https://github.com/cybozu-go/accurate
3030
[Argo CD]: https://argo-cd.readthedocs.io/en/stable/
31-
[App Of Apps Pattern]: https://argo-cd.readthedocs.io/en/stable/operator-manual/cluster-bootstrapping/#app-of-apps-pattern

0 commit comments

Comments
 (0)