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

update consoleplugin version #106

Merged
merged 1 commit into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading