Skip to content

Cloud-Hacks/accuknox_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cow wisdom web server

Prerequisites

sudo apt install fortune-mod cowsay -y

How to use?

  1. Run ./wisecow.sh
  2. Point the browser to server port (default 4499)

What to expect?

wisecow

Problem Statement

Deploy the wisecow application as a k8s app

To check, run kubectl port-forward svc/wisecow-svc 8000:80

Requirement

  1. Create Dockerfile for the image and corresponding k8s manifest to deploy in k8s env. The wisecow service should be exposed as k8s service.
  2. Github action for creating new image when changes are made to this repo
  3. [Challenge goal]: Enable secure TLS communication for the wisecow app.

Create a SSL certs openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem Then add secret manifest; kubectl create secret tls my-tls-secret --key key.pem --cert cert.pem

Expected Artifacts

  1. Github repo containing the app with corresponding dockerfile, k8s manifest, any other artifacts needed.
  2. Github repo with corresponding github action.
  3. Github repo should be kept private and the access should be enabled for following github IDs: nyrahul, SujithKasireddy, divyansh-accuknox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published