diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41a44ee0..a658196a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,8 @@ jobs: git config --global user.email "devops@brightsec.com" 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 @@ -37,4 +37,4 @@ jobs: uses: helm/chart-releaser-action@v1.5.0 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - CR_SKIP_EXISTING: true + CR_SKIP_EXISTING: true \ No newline at end of file diff --git a/charts/brokencrystals/templates/deployment.yaml b/charts/brokencrystals/templates/deployment.yaml index 502ba803..e7cb3100 100644 --- a/charts/brokencrystals/templates/deployment.yaml +++ b/charts/brokencrystals/templates/deployment.yaml @@ -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 @@ -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: @@ -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 }} @@ -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 @@ -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 @@ -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