🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

github.com/georgettica/basic-openshift-networking-example

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/georgettica/basic-openshift-networking-example

Source
Go
Version
v0.3.3
Version published
Created
Source

= OBNPCTL Ron Green 8326+rogreen@users.noreply.gitlab.cee.redhat.com :toc:

OpenShift Basic Networking Persentation (obnp) is a tool for a presentation on basic networking principals on OpenShift

== What this tool provides Basically you can invoke a basic client server code.

Additionally the deployment folder has an additional feature which is to deploy a Postgres server and CLI that can connect to it use

export PATH=${PWD}/bin:${PATH}

install task (not explained here)

connect to the cluster you want (not explained here)

start the test

task deploy-up

== Topic to go through:

=== How I set it up === How the code looks like === The k8s resources used === What is kustomize and how I use it to deploy === Basic startup-teardown of the tool

== Tools Used

=== Task to compile use https://taskfile.dev[an alternative of make]. see the link:Taskfile.yml[Task config file]

=== kustomize https://kustomize.io/[kustomize] is a tool to make k8s files easier to compose together. it allows me to use the https://en.wikipedia.org/wiki/Don%27t_repeat_yourself[DRY method].

=== kubectl-slice https://github.com/patrickdappollonio/kubectl-slice[kubectl-slice] is a nice tool to filter files from a stream. used to extract certain types from the kustomize build output

=== goreleaser https://github.com/goreleaser/goreleaser[goreleaser] is used to build and deploy the tool. see the link:.goreleaser.yaml[goreleaser config file]

=== cobra-cli https://github.com/spf13/cobra-cli[cobra-cli] is the tool used to add new components to the CLI

=== golangci-lint https://github.com/golangci/golangci-lint[golangci-lint] is used to validate the code I write. see the link:.golangci.yml[golangci-lint config file]

FAQs

Package last updated on 21 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts