kustomization for secret-claim-operator
Operator was failing due to missing pull secret. Kustomize seems like the fastest way to patch, upstream is dead anyway.
This commit is contained in:
@@ -7,8 +7,8 @@ metadata:
|
||||
spec:
|
||||
project: k-space.ee
|
||||
source:
|
||||
repoURL: https://github.com/codemowers/operatorlib
|
||||
path: samples/secret-claim-operator
|
||||
repoURL: 'git@git.k-space.ee:k-space/kube.git'
|
||||
path: secret-claim-operator
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
server: 'https://kubernetes.default.svc'
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
argocd/appications/secret-claim-operator.yaml
|
||||
22
secret-claim-operator/kustomization.yaml
Normal file
22
secret-claim-operator/kustomization.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: secret-claim-operator
|
||||
|
||||
resources:
|
||||
- https://raw.githubusercontent.com/codemowers/operatorlib/refs/heads/main/samples/secret-claim-operator/templates/secret-claim-operator-crds.yaml
|
||||
- https://raw.githubusercontent.com/codemowers/operatorlib/refs/heads/main/samples/secret-claim-operator/templates/secret-claim-operator-deployment.yaml
|
||||
- https://raw.githubusercontent.com/codemowers/operatorlib/refs/heads/main/samples/secret-claim-operator/templates/secret-claim-operator-rbac.yaml
|
||||
|
||||
patches:
|
||||
- patch: |-
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: secret-claim-operator
|
||||
namespace: secret-claim-operator
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- $patch: delete
|
||||
Reference in New Issue
Block a user