Skip to content

Commit 6be714c

Browse files
authored
Update versions of Argo CD, Appset Secrets Plugin, and cert-manager (#86)
* updating argo_cd_appset_secrets_plugin to use the new small-hack repo just called appset_secrets_plugin * bump cert manager version while we're at this * bump argo cd version to latest patch
1 parent cd0de6b commit 6be714c

File tree

7 files changed

+40
-41
lines changed

7 files changed

+40
-41
lines changed

poetry.lock

Lines changed: 24 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "smol_k8s_lab"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
description = "bootstrap simple projects on kubernetes with kind and k3s"
55
authors = ["Jesse Hitch <[email protected]>",
66
"Max Roby <[email protected]>"]
@@ -34,8 +34,8 @@ kubernetes = "^27.2"
3434
requests = "^2.28"
3535
pyyaml = "^6.0"
3636
xdg-base-dirs = "^6.0"
37-
pyjwt = "^2.8.0"
38-
cryptography = "^41.0.3"
37+
pyjwt = "^2.8.0"
38+
cryptography = "^41.0.3"
3939

4040
[tool.poetry.plugins."smol-k8s-lab.application.plugin"]
4141
"smol-k8s-lab" = "smol_k8s_lab:main"

smol_k8s_lab/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ def main(config: str = "",
154154
apps['cilium'],
155155
apps['cert_manager'],
156156
argo_enabled,
157-
apps['argo_cd_appset_secret_plugin']['enabled'])
157+
apps['appset_secret_plugin']['enabled'])
158158

159159
# 🦑 Install Argo CD: continuous deployment app for k8s
160160
if argo_enabled:
161161
# user can configure a special domain for argocd
162162
argocd_fqdn = SECRETS['argo_cd_hostname']
163163
from .k8s_apps.argocd import configure_argocd
164164
configure_argocd(k8s_obj, argocd_fqdn, bw,
165-
apps['argo_cd_appset_secret_plugin']['enabled'],
165+
apps['appset_secret_plugin']['enabled'],
166166
SECRETS)
167167

168168
setup_k8s_secrets_management(k8s_obj,

smol_k8s_lab/config/default_config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ apps:
201201
# source repos for Argo CD argo-cd Project (in addition to argo_cd.argo.repo)
202202
project_source_repos:
203203
- https://argoproj.github.io/argo-helm
204-
- https://jessebot.github.io/argocd-appset-secret-plugin
204+
- https://small-hack.github.io/appset-secret-plugin
205205

206-
argo_cd_appset_secret_plugin:
206+
appset_secret_plugin:
207207
# Required if you want to use the default small-hack/argocd-apps argo.repo and
208208
# default enabled if ArgoCD is enabled, so we can create a k8s Secret with
209209
# your more private info such as hostnames, IP addresses, and emails in a
@@ -222,13 +222,13 @@ apps:
222222
# git repo to install the Argo CD app from
223223
repo: "https://github.com/small-hack/argocd-apps"
224224
# path in the argo repo to point to. Trailing slash very important!
225-
path: "argocd/argocd_appset/"
225+
path: "argocd/"
226226
# either the branch or tag to point at in the argo repo above
227227
ref: "main"
228228
# namespace to install the k8s app in
229229
namespace: "argocd"
230230
project_source_repos:
231-
- https://jessebot.github.io/argocd-appset-secret-plugin
231+
- https://small-hack.github.io/appset-secret-plugin
232232

233233
external_secrets_operator:
234234
# enable the external secrets operator to pull remote secrets

smol_k8s_lab/k8s_apps/argocd.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def configure_argocd(k8s_obj: K8s,
8585

8686
release_dict['values_file'] = values_file_name
8787
release_dict['chart_name'] = 'argo-cd/argo-cd'
88-
release_dict['chart_version'] = '5.46.0'
88+
release_dict['chart_version'] = '5.46.5'
8989

9090
release = Helm.chart(**release_dict)
9191
release.install(True)
@@ -121,10 +121,10 @@ def configure_secret_plugin_generator(k8s_obj: K8s, secret_dict: dict):
121121
'token.existingSecret': 'appset-secret-token'}
122122

123123
# install the helm chart :)
124-
chart_name = 'appset-secret-plugin/argocd-appset-secret-plugin'
125-
release = Helm.chart(release_name='argocd-appset-secret-plugin',
124+
chart_name = 'appset-secret-plugin/appset-secret-plugin'
125+
release = Helm.chart(release_name='appset-secret-plugin',
126126
chart_name=chart_name,
127-
chart_version='0.4.0',
127+
chart_version='0.5.0',
128128
namespace='argocd',
129129
set_options=set_opts)
130130
release.install(True)

smol_k8s_lab/k8s_apps/ingress/cert_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def configure_cert_manager(k8s_obj: K8s, email_addr: str = "") -> True:
2020
# install chart and wait
2121
release = Helm.chart(release_name='cert-manager',
2222
chart_name='jetstack/cert-manager',
23-
chart_version="1.12.4",
23+
chart_version="1.13.0",
2424
namespace='ingress',
2525
set_options={'installCRDs': 'true'})
2626
release.install(True)

smol_k8s_lab/k8s_tools/helm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ def add_default_repos(k8s_distro: str,
154154
repos['argo-cd'] = 'https://argoproj.github.io/argo-helm'
155155

156156
if argo_secrets:
157-
repos['appset-secret-plugin'] = ('https://jessebot.github.io/'
158-
'argocd-appset-secret-plugin')
157+
repos['appset-secret-plugin'] = ('https://small-hack.github.io/'
158+
'appset-secret-plugin')
159159

160160
# kind has a special install path
161161
if k8s_distro == 'kind':

0 commit comments

Comments
 (0)