This commit is contained in:
a 2022-03-30 00:44:51 -05:00
parent cb629f34a9
commit ce6da9fc4b
6 changed files with 12 additions and 10 deletions

View File

@ -6,8 +6,9 @@ resources:
# +kubebuilder:scaffold:crdkustomizeresource
patchesStrategicMerge:
- patches/webhook_in_seaweeds.yaml
- patches/cainjection_in_seaweeds.yaml
## no conversion
#- patches/webhook_in_seaweeds.yaml
# the following config is for teaching kustomize how to do kustomization for CRDs.
configurations:

View File

@ -5,12 +5,12 @@ nameReference:
fieldSpecs:
- kind: CustomResourceDefinition
group: apiextensions.k8s.io
path: spec/conversion/webhookClientConfig/service/name
path: spec/conversion/webhook/clientConfig/service/name
namespace:
- kind: CustomResourceDefinition
group: apiextensions.k8s.io
path: spec/conversion/webhookClientConfig/service/namespace
path: spec/conversion/webhook/clientConfig/service/namespace
create: false
varReference:

View File

@ -33,7 +33,7 @@ vars:
objref:
kind: Certificate
group: cert-manager.io
version: v1alpha2
version: v1
name: serving-cert # this name should match the one in certificate.yaml
fieldref:
fieldpath: metadata.namespace
@ -41,7 +41,7 @@ vars:
objref:
kind: Certificate
group: cert-manager.io
version: v1alpha2
version: v1
name: serving-cert # this name should match the one in certificate.yaml
- name: SERVICE_NAMESPACE # namespace of the service
objref:

View File

@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: chrislusf/seaweedfs-operator
newTag: v0.0.1
newName: gfxlabs/seaweedfs-operator
newTag: v0.0.2

View File

@ -1,2 +1,3 @@
resources:
- monitor.yaml
## uncomment below to enable monitor
#- monitor.yaml

View File

@ -1,8 +1,8 @@
apiVersion: seaweed.seaweedfs.com/v1
kind: Seaweed
metadata:
name: seaweed1
namespace: default
name: seaweed-test
namespace: seaweed
spec:
# Add fields here
image: chrislusf/seaweedfs:2.96