Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #106 from upalatucci/patch-consoleplugin
Browse files Browse the repository at this point in the history
update consoleplugin version
  • Loading branch information
upalatucci authored Jul 12, 2024
2 parents b2ea8c8 + daaee04 commit 84abc5b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 8 additions & 6 deletions deployment/nmstate-console-plugin/templates/consoleplugin.tpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
apiVersion: console.openshift.io/v1alpha1
apiVersion: console.openshift.io/v1
kind: ConsolePlugin
metadata:
name: {{ .Values.plugin }}
annotations:
console.openshift.io/use-i18n: "true"
spec:
displayName: 'Console Plugin for NMState'
service:
name: {{ .Values.plugin }}
namespace: {{ .Values.namespace }}
port: 9443
basePath: '/'
backend:
type: Service
service:
name: {{ .Values.plugin }}
namespace: {{ .Values.namespace }}
port: 9443
basePath: '/'
14 changes: 8 additions & 6 deletions oc-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,21 @@ objects:
app: "${PLUGIN_NAME}"
type: ClusterIP
sessionAffinity: None
- apiVersion: console.openshift.io/v1alpha1
- apiVersion: console.openshift.io/v1
kind: ConsolePlugin
metadata:
name: "${PLUGIN_NAME}"
annotations:
console.openshift.io/use-i18n: "true"
spec:
displayName: "Console Plugin NMState Template"
service:
name: "${PLUGIN_NAME}"
namespace: "${NAMESPACE}"
port: 9443
basePath: "/"
backend:
type: Service
service:
name: "${PLUGIN_NAME}"
namespace: "${NAMESPACE}"
port: 9443
basePath: "/"
- apiVersion: v1
kind: ConfigMap
metadata:
Expand Down

0 comments on commit 84abc5b

Please sign in to comment.