Skip to content

Commit

Permalink
[bc] Fix indeting and release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Denan Musinovic committed May 30, 2024
1 parent 8cdc6c0 commit 624ddfd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "Bright Security"
if: ${{ github.ref == 'refs/heads/unstable' }}
- name: Change name to unstable
if: ${{ github.ref == 'refs/heads/unstable' }}
run: |
sed -i 's/brokencrystals/brokencrystals-unstable/g' ./charts/brokencrystals/Chart.yaml
sed -i 's/brkn/brkn-unstbl/g' ./charts/brokencrystals/Chart.yaml
Expand All @@ -37,4 +37,4 @@ jobs:
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: true
CR_SKIP_EXISTING: true
48 changes: 24 additions & 24 deletions charts/brokencrystals/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ spec:
cpu: 200m
memory: 100Mi
volumeMounts:
- name: {{ include "brokencrystals.fullname" . }}-postgres
mountPath: /docker-entrypoint-initdb.d/pg.sql
subPath: pg.sql
readOnly: true
- name: {{ include "brokencrystals.fullname" . }}-postgres
mountPath: /docker-entrypoint-initdb.d/pg.sql
subPath: pg.sql
readOnly: true

- name: keycloak-postgres
image: postgres:12.2-alpine
Expand All @@ -75,10 +75,10 @@ spec:
cpu: 100m
memory: 50Mi
volumeMounts:
- name: {{ include "brokencrystals.fullname" . }}-kc-db
mountPath: /usr/local/share/postgresql/postgresql.conf.sample
subPath: postgresql.conf.sample
readOnly: true
- name: {{ include "brokencrystals.fullname" . }}-kc-db
mountPath: /usr/local/share/postgresql/postgresql.conf.sample
subPath: postgresql.conf.sample
readOnly: true
- name: keycloak
image: quay.io/keycloak/keycloak:16.1.1
resources:
Expand Down Expand Up @@ -116,10 +116,10 @@ spec:
- name: KEYCLOAK_FRONTEND_URL
value: "https://auth{{ .Values.ingress.authlevel }}{{ .Values.ingress.url }}/auth/"
volumeMounts:
- name: {{ include "brokencrystals.fullname" . }}-keycloak
mountPath: /opt/jboss/keycloak/imports/realm-export.json
subPath: realm-export.json
readOnly: true
- name: {{ include "brokencrystals.fullname" . }}-keycloak
mountPath: /opt/jboss/keycloak/imports/realm-export.json
subPath: realm-export.json
readOnly: true

- name: nodejs
image: brightsec/brokencrystals:{{ .Values.images.main }}
Expand Down Expand Up @@ -159,10 +159,10 @@ spec:
- name: X5U_URL
value: "https://raw.githubusercontent.com/NeuraLegion/brokencrystals/development/config/keys/x509.crt"
volumeMounts:
- name: {{ include "brokencrystals.fullname" . }}-nginx-proxy
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
readOnly: true
- name: {{ include "brokencrystals.fullname" . }}-nginx-proxy
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
readOnly: true
resources:
requests:
cpu: 900m
Expand All @@ -185,10 +185,10 @@ spec:
image: brightsec/cli{{ if ne .Values.repeaterImageTag "" }}:{{ .Values.repeaterImageTag }}{{ else }}:latest{{ end }}
command: ["bright-cli", "repeater"]
args:
- "--token=$(TOKEN)"
- "--id=$(REPEATER_ID)"
- "--cluster=$(CLUSTER)"
- "--timeout=$(TIMEOUT)"
- "--token=$(TOKEN)"
- "--id=$(REPEATER_ID)"
- "--cluster=$(CLUSTER)"
- "--timeout=$(TIMEOUT)"
resources:
requests:
cpu: 200m
Expand All @@ -211,10 +211,10 @@ spec:
add: ["NET_RAW", "NET_ADMIN"]
image: ghcr.io/neuralegion/sniffer-agent:latest
args:
- "-a=$(API_URL)"
- "-t=$(API_KEY)"
- "-p=$(PROJECT_ID)"
- "-i=$(NETWORK_INTERFACE)"
- "-a=$(API_URL)"
- "-t=$(API_KEY)"
- "-p=$(PROJECT_ID)"
- "-i=$(NETWORK_INTERFACE)"
resources:
requests:
cpu: 200m
Expand Down

0 comments on commit 624ddfd

Please sign in to comment.