Skip to content

Commit

Permalink
fix: listen and update correctly the resources
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylvln committed Oct 11, 2023
1 parent 110f2c0 commit e69d3de
Show file tree
Hide file tree
Showing 48 changed files with 3,324 additions and 3,307 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
build:
runs-on: ubuntu-latest

if: github.event_name == 'pull_request'

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -120,6 +122,8 @@ jobs:
lint:
runs-on: ubuntu-latest

if: github.event_name == 'pull_request'

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions examples/getting-started/minecraftserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ spec:
replicas: 1
template:
spec:
clusterRef:
name: getting-started
tags:
- limbo
version:
Expand Down
2 changes: 2 additions & 0 deletions examples/with-custom-configuration/minecraftserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ spec:
replicas: 1
template:
spec:
clusterRef:
name: getting-started
tags:
- limbo
version:
Expand Down
68 changes: 34 additions & 34 deletions kube/overlays/next/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,41 @@ namespace: shulker-system
namePrefix: shulker-

resources:
- ../../resources/crd
- ../../resources/rbac
- ../../resources/components/shulker-operator
- ../../resources/webhook
- ../../resources/crd
- ../../resources/rbac
- ../../resources/components/shulker-operator
- ../../resources/webhook

images:
- name: ghcr.io/jeremylvln/shulker-operator
newTag: next
- name: ghcr.io/jeremylvln/shulker-operator
newTag: next

vars:
- fieldref:
fieldPath: metadata.namespace
name: CERTIFICATE_NAMESPACE
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref: {}
name: CERTIFICATE_NAME
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref:
fieldPath: metadata.namespace
name: SHULKER_OPERATOR_SERVICE_NAMESPACE
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref: {}
name: SHULKER_OPERATOR_SERVICE_NAME
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref:
fieldPath: metadata.namespace
name: CERTIFICATE_NAMESPACE
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref: {}
name: CERTIFICATE_NAME
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref:
fieldPath: metadata.namespace
name: SHULKER_OPERATOR_SERVICE_NAMESPACE
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref: {}
name: SHULKER_OPERATOR_SERVICE_NAME
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
70 changes: 35 additions & 35 deletions kube/overlays/stable-with-prometheus/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@ namespace: shulker-system
namePrefix: shulker-

resources:
- ../../resources/crd
- ../../resources/rbac
- ../../resources/components/shulker-operator
- ../../resources/webhook
- ../../resources/components/shulker-operator/prometheus
- ../../resources/crd
- ../../resources/rbac
- ../../resources/components/shulker-operator
- ../../resources/webhook
- ../../resources/components/shulker-operator/prometheus

images:
- name: ghcr.io/jeremylvln/shulker-operator
newTag: v0.0.1
- name: ghcr.io/jeremylvln/shulker-operator
newTag: v0.0.1

vars:
- fieldref:
fieldPath: metadata.namespace
name: CERTIFICATE_NAMESPACE
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref: {}
name: CERTIFICATE_NAME
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref:
fieldPath: metadata.namespace
name: SHULKER_OPERATOR_SERVICE_NAMESPACE
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref: {}
name: SHULKER_OPERATOR_SERVICE_NAME
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref:
fieldPath: metadata.namespace
name: CERTIFICATE_NAMESPACE
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref: {}
name: CERTIFICATE_NAME
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref:
fieldPath: metadata.namespace
name: SHULKER_OPERATOR_SERVICE_NAMESPACE
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref: {}
name: SHULKER_OPERATOR_SERVICE_NAME
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
68 changes: 34 additions & 34 deletions kube/overlays/stable/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,41 @@ namespace: shulker-system
namePrefix: shulker-

resources:
- ../../resources/crd
- ../../resources/rbac
- ../../resources/components/shulker-operator
- ../../resources/webhook
- ../../resources/crd
- ../../resources/rbac
- ../../resources/components/shulker-operator
- ../../resources/webhook

images:
- name: ghcr.io/jeremylvln/shulker-operator
newTag: v0.0.1
- name: ghcr.io/jeremylvln/shulker-operator
newTag: v0.0.1

vars:
- fieldref:
fieldPath: metadata.namespace
name: CERTIFICATE_NAMESPACE
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref: {}
name: CERTIFICATE_NAME
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref:
fieldPath: metadata.namespace
name: SHULKER_OPERATOR_SERVICE_NAMESPACE
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref: {}
name: SHULKER_OPERATOR_SERVICE_NAME
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref:
fieldPath: metadata.namespace
name: CERTIFICATE_NAMESPACE
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref: {}
name: CERTIFICATE_NAME
objref:
group: cert-manager.io
kind: Certificate
name: serving-cert
version: v1
- fieldref:
fieldPath: metadata.namespace
name: SHULKER_OPERATOR_SERVICE_NAMESPACE
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
- fieldref: {}
name: SHULKER_OPERATOR_SERVICE_NAME
objref:
kind: Service
name: shulker-operator-webhook-service
version: v1
8 changes: 4 additions & 4 deletions kube/resources/components/shulker-operator/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- operator.yaml
- service.yaml
- rbac/
- webhook/
- operator.yaml
- service.yaml
- rbac/
- webhook/
Loading

0 comments on commit e69d3de

Please sign in to comment.