Skip to content

Commit

Permalink
Add updatemonitor chart
Browse files Browse the repository at this point in the history
  • Loading branch information
olblak committed Jul 13, 2023
1 parent e0d0302 commit 753f5b9
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .sops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ creation_rules:
# By default allow following keys to encrypt/decrypt secrets
# Specific path can be configured as explained here https://github.com/mozilla/sops#using-sops-yaml-conf-to-select-kms-pgp-for-new-files
# ! The first regex that matches is selected
- path_regex: secrets.yaml
key_groups:
# - path_regex: secrets.d
- key_groups:
- pgp:
# - '56D8342434B84E2D1CCF53D96E9A025D52210D3D' # Olblak
- '149E8DB97FE134C2703A149AA902D944C78793B7' # Olblak
Expand Down
19 changes: 19 additions & 0 deletions helmfile.d/cert-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
repositories:
- name: cert-manager
url: https://charts.jetstack.io
helmDefaults:
createNamespace: true
timeout: 180
atomic: true
verify: false
wait: true
releases:
- name: cert-manager
namespace: cert-manager
version: v1.12.2
chart: cert-manager/cert-manager
disableValidationOnInstall: true
wait: true
waitForJobs: true
values:
- installCRDs: true
4 changes: 2 additions & 2 deletions helmfile.yaml → helmfile.d/updatemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ releases:
chart: updatecli/updatemonitor
version: 0.2.0
values:
- values.yaml
- ../values.d/updatemonitor.yaml
secrets:
- secrets.yaml
- ../secrets.d/updatemonitor.yaml
wait: true

22 changes: 22 additions & 0 deletions k8s.d/cluster-issuers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: [email protected]
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt
# Enable the HTTP-01 challenge provider
solvers:
# An empty 'selector' means that this solver matches all domains
- selector: {}
http01:
ingress:
class: traefik

File renamed without changes.
13 changes: 13 additions & 0 deletions values.yaml → values.d/updatemonitor.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
#mongodb:
# image:
# # Due to https://github.com/bitnami/charts/issues/10255
# # We need to use mongodb 4 on norvos
# tag: 4.4.15

ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
hosts:
- host: updatemonitor.updatecli.io
tls:
- secretName: updatemonitor-tls
hosts:
- updatemonitor.updatecli.io

config:
server:
readonly: true
Expand Down

0 comments on commit 753f5b9

Please sign in to comment.