Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add rpg apps of app with dmw #732

Merged
merged 5 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/linter/jscpd/jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"console"
],
"ignore": [
".disabled/**",
"**/node_modules/**",
"**/.git/**",
"**/.direnv/**",
Expand All @@ -19,8 +20,7 @@
"**/*.yml",
"**/*.md",
"**/*.html",
"**/*.xml",
"kubernetes/**/scripts/pushover-notify.sh"
"**/*.xml"
]
}

1 change: 1 addition & 0 deletions .github/linter/yamllint/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
ignore: |
.disabled/
.ansible/
.direnv/
.private/
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:
pull_request:
branches:
- main
- master

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down Expand Up @@ -40,7 +40,6 @@ jobs:
"KUBERNETES_KUBESCAPE",
"MARKDOWN_MARKDOWNLINT",
"REPOSITORY_GIT_DIFF",
"REPOSITORY_SECRETLINT",
"YAML_PRETTIER",
"YAML_YAMLLINT"
]
Expand All @@ -50,8 +49,8 @@ jobs:
}}
COPYPASTE_JSCPD_CONFIG_FILE: .github/linter/jscpd/jscpd.json
KUBERNETES_DIRECTORY: ''
KUBERNETES_KUBEVAL_ARGUMENTS: --ignore-missing-schemas
KUBERNETES_KUBEVAL_FILTER_REGEX_INCLUDE: "(kubernetes)"
KUBERNETES_KUBECONFORM_ARGUMENTS: --ignore-missing-schemas
KUBERNETES_KUBECONFORM_FILTER_REGEX_EXCLUDE: "(Chart.yaml|values.yaml)"
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .github/linter/markdownlint/markdownlint.yaml
YAML_YAMLLINT_CONFIG_FILE: .github/linter/yamllint/.yamllint.yaml
YAML_PRETTIER_CONFIG_FILE: .github/linter/prettier/.prettierrc.yaml
28 changes: 28 additions & 0 deletions apps-root-config/applications/cluster-rpg-apps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
repository: https://github.com/mikevader/k3s-cluster-infra-apps.git
# argocdNamespace: "argocd"
# server: "https://kubernetes.default.svc"
subFolder: cluster-rpg-apps
namespace:
annotations: {}
labels:
client: cluster-infra

enableDefaultNetworkPolicy: false
enableDefaultLimitRange: false
allowAllNamespaces: true

roleBindings:
# - groupName: "team1"
# clusterRoleName: "admin"

clusterResourceWhitelist:
- group: '*'
kind: '*'

namespaceResourceBlacklist:
# - group: 'apps'
# kind: 'DaemonSet'

applications:
dmw: {}
4 changes: 3 additions & 1 deletion apps-root-config/bootstrap/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
repository: https://github.com/mikevader/k3s-cluster-infra-apps.git
bootstrap:
- name: cluster-init-apps
# argocdNamespace: asdfasdf
# argocdNamespace: asdfasdf
- name: cluster-critical-apps
- name: cluster-platform-apps
- name: cluster-utility-apps
- name: cluster-media-apps
- name: cluster-rpg-apps
- name: cluster-test
9 changes: 9 additions & 0 deletions cluster-rpg-apps/dmw/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: v2
name: dmw
description: Dungeon Master Workshop app
version: 1.0.0
dependencies:
- name: dmw
repository: https://mikevader.github.io/dm-workshop
version: 1.0.0-dev.4c36ba3
27 changes: 27 additions & 0 deletions cluster-rpg-apps/dmw/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
dmw:
railsEnvironment: development

ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: websecure
# traefik.ingress.kubernetes.io/router.middlewares: authentik-authentik@kubernetescrd
hosts:
- host: 'dmw.framsburg.ch'
paths:
- path: /
pathType: Prefix
tls:
- hosts: ['dmw.framsburg.ch']
secretName: 'dmw-framsburg-ch-tls'

env:
- name: SERVER_HOST_NAME
value: 'dmw.framsburg.ch'

# podSecurityContext:
# sysctls:
# - name: fs.inotify.max_user_instances
# value: "256"