mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-21 05:20:05 +00:00
Compare commits
6 Commits
helm-v0.4.
...
v0.3.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64513b8dee | ||
|
|
d2dd055818 | ||
|
|
e6074a86c0 | ||
|
|
51b23d16dc | ||
|
|
45ad56c586 | ||
|
|
6cd62d9e91 |
@@ -1,5 +1,5 @@
|
||||
# Build the manager binary
|
||||
FROM golang:1.19 as builder
|
||||
FROM golang:1.19.10 as builder
|
||||
|
||||
WORKDIR /workspace
|
||||
# Copy the Go Modules manifests
|
||||
|
||||
@@ -21,8 +21,8 @@ sources:
|
||||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: 0.4.3
|
||||
version: 0.4.5
|
||||
|
||||
# This is the version number of the application being deployed.
|
||||
# This version number should be incremented each time you make changes to the application.
|
||||
appVersion: 0.3.2
|
||||
appVersion: 0.3.3
|
||||
|
||||
@@ -265,7 +265,7 @@ webhooks:
|
||||
{{- end }}
|
||||
service:
|
||||
name: capsule-webhook-service
|
||||
namespace: capsule-system
|
||||
namespace: {{ .Release.Namespace }}
|
||||
path: /tenantresource-objects
|
||||
failurePolicy: {{ .Values.webhooks.tenantResourceObjects.failurePolicy }}
|
||||
name: resource-objects.tenant.capsule.clastix.io
|
||||
|
||||
@@ -2769,7 +2769,7 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
image: clastix/capsule:v0.3.2
|
||||
image: clastix/capsule:v0.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: manager
|
||||
ports:
|
||||
|
||||
@@ -7,4 +7,4 @@ kind: Kustomization
|
||||
images:
|
||||
- name: controller
|
||||
newName: clastix/capsule
|
||||
newTag: v0.3.2
|
||||
newTag: v0.3.3
|
||||
|
||||
@@ -172,6 +172,7 @@ func (r *Processor) HandleSection(ctx context.Context, tnt capsulev1beta2.Tenant
|
||||
for _, o := range objs.Items {
|
||||
obj := o
|
||||
obj.SetNamespace(ns.Name)
|
||||
obj.SetOwnerReferences(nil)
|
||||
|
||||
multiErr.Go(func() error {
|
||||
kv := keysAndValues
|
||||
|
||||
@@ -77,7 +77,7 @@ func (p PV) OnCreate(client client.Client, decoder *admission.Decoder, recorder
|
||||
return utils.ErroredResponse(NewMissingTenantPVLabelsError(pv.GetName()))
|
||||
}
|
||||
|
||||
if value != p.capsuleLabel {
|
||||
if value != tnt.Name {
|
||||
return utils.ErroredResponse(NewCrossTenantPVMountError(pv.GetName()))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user