Skip to content

Commit

Permalink
chore: stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 19, 2024
1 parent 203806d commit c45c7a2
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 13 deletions.
2 changes: 1 addition & 1 deletion registry/components/homepage/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ spec:
timeoutSeconds: 1
volumes:
- name: homepage-config
configMap:
secret:
name: homepage
- name: logs
emptyDir:
Expand Down
4 changes: 2 additions & 2 deletions registry/components/homepage/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v1
kind: ConfigMap
kind: Secret
metadata:
name: homepage
namespace: homepage
annotations:
argocd.argoproj.io/sync-wave: "10"
data:
stringData:
bookmarks.yaml: ""
docker.yaml: ""
kubernetes.yaml: |
Expand Down
20 changes: 10 additions & 10 deletions registry/components/homepage/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ resources:
- configmap.yaml
- namespace.yaml
- secret.yaml
patches:
- target:
group: apps
version: v1
kind: Deployment
name: homepage
patch: |-
- op: replace
path: /spec/replicas
value: 2
# patches:
# - target:
# group: apps
# version: v1
# kind: Deployment
# name: homepage
# patch: |-
# - op: replace
# path: /spec/replicas
# value: 2
25 changes: 25 additions & 0 deletions registry/components/homepage/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
controller:
annotations:
configmap.reloader.stakater.com/reload: homepage
config:
useExistingConfigMap: homepage
enableRbac: true
ingress:
main:
enabled: true
annotations:
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: basic-auth
nginx.ingress.kubernetes.io/auth-realm: "Authentication Required"
ingressClassName: nginx
hosts:
- host: homepage.simonemms.com
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- homepage.simonemms.com
secretName: homepage-tls

0 comments on commit c45c7a2

Please sign in to comment.