Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix byoh chart version #268

Merged
merged 3 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 5 additions & 0 deletions policy/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resources:
- resources.yaml

transformers:
- site-values.yaml
37 changes: 37 additions & 0 deletions policy/base/resources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
labels:
name: opa-gatekeeper
name: opa-gatekeeper
spec:
chart:
type: helmrepo
repository: https://harbor.taco-cat.xyz/chartrepo/tks
name: gatekeeper
version: 3.13.0
origin: https://open-policy-agent.github.io/gatekeeper/charts
helmVersion: v3
releaseName: opa-gatekeeper
targetNamespace: taco-system
values:
enableDeleteOperations: true
---
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
labels:
name: policy-resources
name: policy-resources
spec:
chart:
type: helmrepo
repository: https://harbor.taco-cat.xyz/chartrepo/tks
name: policy-resources
version: 1.0.0
origin: https://openinfradev.github.io/helm-charts/policy-resources
helmVersion: v3
releaseName: policy-resources
targetNamespace: taco-system
values: {}
20 changes: 20 additions & 0 deletions policy/base/site-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: openinfradev.github.com/v1
kind: HelmValuesTransformer
metadata:
name: site

global:
# Specify nodes to install workload
nodeSelector:
taco-lma: enabled
# Specify cluster name. It is useful in multi-cluster env.
clusterName: cluster.local
# Storageclass to install persistant
storageClassName: taco-storage

charts:
- name: opa-gatekeeper
override:
prometheusOperator.nodeSelector: $(nodeSelector)

- name: policy-resources
2 changes: 1 addition & 1 deletion tks-cluster/infra/byoh/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
type: helmrepo
repository: https://harbor.taco-cat.xyz/chartrepo/tks
name: cluster-api-byoh
version: 0.1.0
version: 0.3.0
releaseName: cluster-api-byoh
targetNamespace: argo
values:
Expand Down
Loading