Skip to content

Commit b96fc89

Browse files
committed
Publish crds as a seperate manifest, remove submodule notes
1 parent a3d7523 commit b96fc89

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/pipeline.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ jobs:
6161
IS_PUBLIC_BUILD: ${{ needs.generate-version.outputs.is-public-build }}
6262
steps:
6363
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
64-
with:
65-
submodules: true
6664
- name: Setup QEMU
6765
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
6866
with:
@@ -125,11 +123,19 @@ jobs:
125123
cat ../../license-header.yaml > ./install-prod-quay.yaml
126124
kustomize build ./ >> ./install-prod-quay.yaml
127125
shell: bash
126+
- name: Generate Manifests (CRDs)
127+
run: |
128+
set -xe
129+
cd ./manifests/install/all/crds
130+
cat ../../../license-header.yaml > ./crds.yaml
131+
kustomize build ./ >> ./crds.yaml
132+
shell: bash
128133
- name: Stage Manifests
129134
run: |
130135
set -xe
131136
cp manifests/install/prod/install-prod.yaml ./install-prod.yaml
132137
cp manifests/install/prod-quay/install-prod-quay.yaml ./install-prod-quay.yaml
138+
cp manifests/install/all/crds/crds.yaml ./crds.yaml
133139
shell: bash
134140
- name: Publish (Artifacts)
135141
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
@@ -138,6 +144,7 @@ jobs:
138144
path: |
139145
install-prod.yaml
140146
install-prod-quay.yaml
147+
crds.yaml
141148
retention-days: 7
142149
build-helm-chart:
143150
runs-on: ubuntu-latest
@@ -201,8 +208,6 @@ jobs:
201208
if: ${{ github.event_name != 'pull_request' }} # should match push logic in build-image
202209
steps:
203210
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
204-
with:
205-
submodules: true
206211
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
207212
with:
208213
registry: ghcr.io

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Note: If you get the error `Error: Process 'PID 4 System Service' binds to port
5050

5151
## Building the Operator
5252

53-
> Make sure to restore the submodules in the `./vendor` directory and you have the latest .NET LTS installed!
53+
> Make sure you have the latest .NET LTS installed!
5454
5555
The Contrast Agent Operator is a standard .NET application and can be built as such.
5656

0 commit comments

Comments
 (0)