Skip to content

Commit

Permalink
Merge pull request #2 from openmfp/feat/chart-adjustments-for-kcp-sup…
Browse files Browse the repository at this point in the history
…port

feat: allow to specify virtualworkspaceurl via environment
  • Loading branch information
nexus49 authored Oct 25, 2024
2 parents 7019393 + fb3fd59 commit 72b97c8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/account-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: account-operator
description: A Helm chart for Kubernetes
type: application
version: 0.1.17
version: 0.1.18
appVersion: "0.60.0"
dependencies:
- name: account-operator-crds
Expand Down
2 changes: 2 additions & 0 deletions charts/account-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ spec:
env:
- name: KCP_ENABLED
value: "{{ .Values.kcp.enabled }}"
- name: KCP_VIRTUAL_WORKSPACE_URL
value: "{{ .Values.kcp.virtualWorkspaceUrl }}"
{{- if .Values.kubeconfigSecret }}
- name: KUBECONFIG
value: /api-kubeconfig/kubeconfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ operator match the snapshot:
env:
- name: KCP_ENABLED
value: "false"
- name: KCP_VIRTUAL_WORKSPACE_URL
value: ""
image: ghcr.io/openmfp/account-operator:0.0.0
livenessProbe:
httpGet:
Expand Down Expand Up @@ -235,6 +237,8 @@ operator match the snapshot (with kubeconfigSecret):
env:
- name: KCP_ENABLED
value: "false"
- name: KCP_VIRTUAL_WORKSPACE_URL
value: ""
- name: KUBECONFIG
value: /api-kubeconfig/kubeconfig
image: ghcr.io/openmfp/account-operator:0.0.0
Expand Down
1 change: 1 addition & 0 deletions charts/account-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ deployment:

kcp:
enabled: false
virtualWorkspaceUrl: ""

kubeconfigSecret: ""

0 comments on commit 72b97c8

Please sign in to comment.