1 Commits

Author SHA1 Message Date
d593d59bed remove secret from Kustomize
All checks were successful
Ruby Test / test (push) Successful in 18s
Ruby Lint / lint (push) Successful in 22s
2025-05-10 17:43:46 -05:00
3 changed files with 3 additions and 3 deletions

2
app.rb
View File

@@ -24,6 +24,8 @@ require "config"
VERSION = "0.2.1"
CHUNK_SIZE = 1024**2
SESSION_SECRET_HEX_LENGTH = 64
JWT_SECRET_HEX_LENGTH = 64
DEFAULT_FLAKEY = 50
NAME = "kubernaut".freeze

View File

@@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubernaut
resources:
- secret.yaml
- configmap.yaml
- deployment.yaml
- hpa.yaml

View File

@@ -1,8 +1,5 @@
require "sensitive"
SESSION_SECRET_HEX_LENGTH = 64
JWT_SECRET_HEX_LENGTH = 64
class Config
attr_accessor :cat