Skip to content

Conversation

@g-bgg
Copy link
Collaborator

@g-bgg g-bgg commented Oct 10, 2025

No description provided.

@g-bgg g-bgg force-pushed the build-container-helm-chart-flux-demo branch from 8688d4f to 37c4554 Compare October 17, 2025 10:02
Copy link
Member

@06kellyjac 06kellyjac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff
A few thoughts & suggestions


Also should we have a workflow that ensures the chart and/or the demo chart apply properly?
Can be in a future PR

Comment on lines +38 to +40
SnifferContainerImage: "docker.io/controlplane/netassertv2-packet-sniffer:v1.1.7",
SnifferContainerPrefix: "netassertv2-sniffer",
ScannerContainerImage: "docker.io/controlplane/netassertv2-l4-client:latest",
ScannerContainerImage: "docker.io/controlplane/netassertv2-l4-client:v1.0.6",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're committing this can we have a simple bash script or something to update this?
Also we could use digest sha

spec:
initContainers:
- name: "sleepy"
image: busybox:1.36
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably best to use a full image path. I recall seeing a post about CRI-O requiring full path soon but I can't find the link

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also if these images are defined in helm values then there's only 1 place to update them.

spec:
containers:
- name: busybox
image: busybox
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this image

Comment on lines +71 to +73
command:
- sleep
- "360000"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could probably follow the same pattern as above sleepy

spec:
containers:
- name: webserver
image: nginx:latest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image path


---

### 1.2 Create a Kind Cluster
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### 1.2 Create a Kind Cluster
### 1.2 Create a KinD Cluster

- name: Push Helm chart to GHCR
run: |
CLEAN_VERSION=$(echo "$RELEASE_VERSION" | sed 's/^v//')
helm push "./netassert-${CLEAN_VERSION}.tgz" oci://ghcr.io/${{ github.repository_owner }}/charts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing newline EOF

attestations: write
id-token: write
steps:
- name: Checkout repository
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can some spacing be added between each step for readability please

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

packagerelease:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
packagerelease:
helm-release:

or

Suggested change
packagerelease:
container-and-helm:

build:
runs-on: ubuntu-latest
needs: lint
#needs: lint
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we re-enable linting here or bring it back in a separate workflow?

Copy link

@cicci8ino cicci8ino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, with comments

@g-bgg g-bgg merged commit f6b8453 into master Oct 20, 2025
4 checks passed
@g-bgg g-bgg deleted the build-container-helm-chart-flux-demo branch October 20, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants