-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(RHIDP-4076): Migrate framework to RHDH v1.3 (#89)
* fix(RHIDP-4076): Update backstage CR to v1alpha2 Signed-off-by: Pavel Macík <[email protected]> * fix(RHIDP-4076): Fix helm chart for v1.3 Signed-off-by: Pavel Macík <[email protected]> * fix(RHIDP-4076): update helm and catalog images for 1.3 Signed-off-by: Pavel Macík <[email protected]> * allow for overriding keycloak repicas Signed-off-by: Pavel Macík <[email protected]> --------- Signed-off-by: Pavel Macík <[email protected]>
- Loading branch information
Showing
7 changed files
with
85 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
ci-scripts/rhdh-setup/template/backstage/helm/extravolume-patch-1.3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
extraVolumeMounts: | ||
- name: dynamic-plugins-root | ||
mountPath: /opt/app-root/src/dynamic-plugins-root | ||
- name: diststatic | ||
mountPath: /opt/app-root/src/packages/app/dist/static | ||
- name: rbac-policy | ||
mountPath: /opt/app-root/src/rbac | ||
extraVolumes: | ||
- name: dynamic-plugins-root | ||
ephemeral: | ||
volumeClaimTemplate: | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
# -- Size of the volume that will contain the dynamic plugins. It should be large enough to contain all the plugins. | ||
storage: 2Gi | ||
- name: dynamic-plugins | ||
configMap: | ||
defaultMode: 420 | ||
name: '{{ printf "%s-dynamic-plugins" .Release.Name }}' | ||
optional: true | ||
- name: rbac-policy | ||
configMap: | ||
defaultMode: 420 | ||
name: rbac-policy | ||
- name: dynamic-plugins-npmrc | ||
secret: | ||
defaultMode: 420 | ||
optional: true | ||
secretName: dynamic-plugins-npmrc | ||
- name: npmcacache | ||
emptyDir: {} | ||
- name: diststatic | ||
emptyDir: {} | ||
initContainers: | ||
- name: install-dynamic-plugins | ||
image: '{{ include "backstage.image" . }}' | ||
command: | ||
- ./install-dynamic-plugins.sh | ||
- /dynamic-plugins-root | ||
env: | ||
- name: NPM_CONFIG_USERCONFIG | ||
value: /opt/app-root/src/.npmrc.dynamic-plugins | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- mountPath: /dynamic-plugins-root | ||
name: dynamic-plugins-root | ||
- mountPath: /opt/app-root/src/dynamic-plugins.yaml | ||
name: dynamic-plugins | ||
readOnly: true | ||
subPath: dynamic-plugins.yaml | ||
- mountPath: /opt/app-root/src/.npmrc.dynamic-plugins | ||
name: dynamic-plugins-npmrc | ||
readOnly: true | ||
subPath: .npmrc | ||
- mountPath: /opt/app-root/src/.npm/_cacache | ||
name: npmcacache | ||
workingDir: /opt/app-root/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters