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(locking-service): update configuration to use dragonfly #2813

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

tyriis
Copy link
Owner

@tyriis tyriis commented Apr 11, 2024

No description provided.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@tyriis tyriis changed the title feat(locking-service): update redis configuration to use dragonfly da… feat(locking-service): update configuration to use dragonfly Apr 11, 2024
@tyriis-automation
Copy link
Contributor

--- kubernetes/talos-flux/apps/home-automation/locking-service/app Kustomization: flux-system/apps-locking-service HelmRelease: home-automation/locking-service

+++ kubernetes/talos-flux/apps/home-automation/locking-service/app Kustomization: flux-system/apps-locking-service HelmRelease: home-automation/locking-service

@@ -33,13 +33,13 @@

     remediation:
       retries: 3
   values:
     controllers:
       locking-service:
         annotations:
-          secret.reloader.stakater.com/reload: locking-service-options
+          reloader.stakater.com/auto: 'true'
         containers:
           app:
             env:
               CONFIG_PATH: /config/configuration.yaml
               NODE_ENV: production
               TZ: ${SETTING_TZ}
--- kubernetes/talos-flux/apps/home-automation/locking-service/app Kustomization: flux-system/apps-locking-service ConfigMap: home-automation/locking-service-config

+++ kubernetes/talos-flux/apps/home-automation/locking-service/app Kustomization: flux-system/apps-locking-service ConfigMap: home-automation/locking-service-config

@@ -5,19 +5,19 @@

     ---
     app:
       port: 3000
       host: 0.0.0.0
 
     redis:
-      #   host: redis.database.svc.cluster.local
-      #   port: 6379
+      host: dragonfly.database.svc.cluster.local
+      port: 6379
       keyPrefix: locking-service.
-      sentinels:
-        - host: redis.database.svc.cluster.local
-          port: 26379
-      name: redis-master
+      # sentinels:
+      #   - host: redis.database.svc.cluster.local
+      #     port: 26379
+      # name: redis-master
 kind: ConfigMap
 metadata:
   labels:
     app.kubernetes.io/instance: locking-service
     app.kubernetes.io/managed-by: fluxcd.io
     app.kubernetes.io/name: locking-service

@tyriis-automation
Copy link
Contributor

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 2 0 0.01s
✅ REPOSITORY gitleaks yes no 2.25s
✅ YAML prettier 2 0 0.46s
✅ YAML yamllint 2 0 0.42s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@tyriis-automation
Copy link
Contributor

--- HelmRelease: home-automation/locking-service Deployment: home-automation/locking-service

+++ HelmRelease: home-automation/locking-service Deployment: home-automation/locking-service

@@ -6,13 +6,13 @@

   labels:
     app.kubernetes.io/component: locking-service
     app.kubernetes.io/instance: locking-service
     app.kubernetes.io/managed-by: Helm
     app.kubernetes.io/name: locking-service
   annotations:
-    secret.reloader.stakater.com/reload: locking-service-options
+    reloader.stakater.com/auto: 'true'
 spec:
   revisionHistoryLimit: 3
   replicas: 3
   strategy:
     type: RollingUpdate
   selector:

@tyriis tyriis merged commit 05034f6 into main Apr 11, 2024
15 checks passed
@tyriis tyriis deleted the feature/dragonfly branch April 11, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant