Skip to content

Commit

Permalink
Merge pull request #394 from Roming22/feat/dh/1.4
Browse files Browse the repository at this point in the history
feat: Upgrade to Developer Hub 1.4
  • Loading branch information
openshift-merge-bot[bot] authored Jan 20, 2025
2 parents 6c6c4f4 + 7a7cf45 commit fa2def4
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions installer/charts/rhtap-dh/templates/app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ apiVersion: v1
kind: ConfigMap
metadata:
annotations:
rhdh.redhat.com/backstage-name: {{ .Values.developerHub.instanceName | quote }}
rhdh.redhat.com/backstage-name: {{ .Values.developerHub.instanceName }}
labels:
rhdh.redhat.com/ext-config-sync: "true"
rhdh.redhat.com/ext-config-sync: 'true'
name: developer-hub-rhtap-app-config
data:
app-config.rhtap.yaml: |
Expand Down
5 changes: 2 additions & 3 deletions installer/charts/rhtap-dh/templates/backstage.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
apiVersion: rhdh.redhat.com/v1alpha1
apiVersion: rhdh.redhat.com/v1alpha3
kind: Backstage
metadata:
name: {{ .Values.developerHub.instanceName | quote }}
name: {{ .Values.developerHub.instanceName }}
namespace: {{ .Release.Namespace }}
spec:
application:
Expand All @@ -14,7 +14,6 @@ spec:
extraEnvs:
secrets:
- name: developer-hub-rhtap-env
replicas: 1
route:
enabled: true
database:
Expand Down
4 changes: 2 additions & 2 deletions installer/charts/rhtap-dh/templates/extra-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ apiVersion: v1
kind: Secret
metadata:
annotations:
rhdh.redhat.com/backstage-name: {{ .Values.developerHub.instanceName | quote }}
rhdh.redhat.com/backstage-name: {{ .Values.developerHub.instanceName }}
labels:
rhdh.redhat.com/ext-config-sync: "true"
rhdh.redhat.com/ext-config-sync: 'true'
name: developer-hub-rhtap-env
namespace: {{ .Release.Namespace }}
type: Opaque
Expand Down
14 changes: 7 additions & 7 deletions installer/charts/rhtap-dh/templates/plugins-content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ plugins:
# CI
#
- disabled: false
package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-tekton
package: ./dynamic-plugins/dist/backstage-community-plugin-tekton
pluginConfig:
dynamicPlugins:
frontend:
janus-idp.backstage-plugin-tekton:
backstage-community.plugin-tekton:
mountPoints:
- config:
if:
Expand All @@ -46,7 +46,7 @@ plugins:
mountPoint: entity.page.ci/cards
{{- if (lookup "v1" "Secret" .Release.Namespace "rhtap-github-integration") }}
- disabled: false
package: ./dynamic-plugins/dist/backstage-plugin-github-actions
package: ./dynamic-plugins/dist/backstage-community-plugin-github-actions
{{- end }}
{{- if (lookup "v1" "Secret" .Release.Namespace "rhtap-gitlab-integration") }}
- disabled: false
Expand Down Expand Up @@ -88,15 +88,15 @@ plugins:
#
{{- if (lookup "v1" "Secret" .Release.Namespace "rhtap-artifactory-integration") }}
- disabled: false
package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-jfrog-artifactory
package: ./dynamic-plugins/dist/backstage-community-plugin-jfrog-artifactory
{{- end }}
{{- if (lookup "v1" "Secret" .Release.Namespace "rhtap-nexus-integration") }}
- disabled: false
package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-nexus-repository-manager
package: ./dynamic-plugins/dist/backstage-community-plugin-nexus-repository-manager
{{- end }}
{{- if (lookup "v1" "Secret" .Release.Namespace "rhtap-quay-integration") }}
- disabled: false
package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-quay
package: ./dynamic-plugins/dist/backstage-community-plugin-quay
{{- end }}
#
# Kubernetes
Expand Down Expand Up @@ -131,7 +131,7 @@ plugins:
serviceLocatorMethod:
type: multiTenant
- disabled: false
package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-topology
package: ./dynamic-plugins/dist/backstage-community-plugin-topology
#
# Tech Docs
#
Expand Down
4 changes: 2 additions & 2 deletions installer/charts/rhtap-dh/templates/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ kind: ConfigMap
apiVersion: v1
metadata:
annotations:
rhdh.redhat.com/backstage-name: {{ .Values.developerHub.instanceName | quote }}
rhdh.redhat.com/backstage-name: {{ .Values.developerHub.instanceName }}
labels:
rhdh.redhat.com/ext-config-sync: "true"
rhdh.redhat.com/ext-config-sync: 'true'
name: developer-hub-rhtap-dynamic-plugins
data:
dynamic-plugins.yaml: |
Expand Down
2 changes: 1 addition & 1 deletion installer/charts/rhtap-subscriptions/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ subscriptions:
apiResource: backstages.rhdh.redhat.com
namespace: openshift-operators
name: rhdh
channel: fast-1.3
channel: fast-1.4
source: redhat-operators
sourceNamespace: openshift-marketplace

0 comments on commit fa2def4

Please sign in to comment.