Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to create CR manually #375

Closed
mmartin24 opened this issue Nov 16, 2023 · 1 comment · Fixed by #385
Closed

Document how to create CR manually #375

mmartin24 opened this issue Nov 16, 2023 · 1 comment · Fixed by #385
Assignees
Labels
area/documentation Improvements or additions to documentation

Comments

@mmartin24
Copy link
Contributor

mmartin24 commented Nov 16, 2023

We should document somewhere (to be discussed) how to recover Epinio app to be visible by CLI again if deleted.

Example:

cat <<EOF | kubectl apply -f -
apiVersion: application.epinio.io/v1
kind: App
metadata:
  annotations:
    epinio.io/created-by: admin
  name: jenkins-epinio
  namespace: workspace
spec:
  chartname: standard
  imageurl: jenkins/jenkins
  origin:
    container: jenkins/jenkins
  routes:
  - jenkins-epinio.192.168.16.3.omg.howdoi.website
EOF

Related issue: epinio/epinio#2623 (comment)


Alternative: (edited. added post-initial description)

  • Deploy a similar temporary app. Get app resources yaml from temporary and adapt that for the original one.
 k get apps.application.epinio.io jenkins-epinio -n workspace -o yaml > /tmp/sample.yaml

Modify & apply it

k apply -f /tmp/sample.yaml         
  • Delete temporary app
epinio app delete temporary-app

App should re-appear

@andreas-kupries
Copy link
Contributor

The intended recovery requires saving the custom resources before.
If they are not saved ...

@andreas-kupries andreas-kupries moved this from Icebox to Todo in Epinio planning Nov 20, 2023
@andreas-kupries andreas-kupries self-assigned this Nov 27, 2023
@andreas-kupries andreas-kupries moved this from Todo to In Progress in Epinio planning Nov 27, 2023
@andreas-kupries andreas-kupries moved this from In Progress to To Review in Epinio planning Nov 27, 2023
@github-project-automation github-project-automation bot moved this from To Review to Done in Epinio planning Nov 28, 2023
@andreas-kupries andreas-kupries moved this from Done to Archivable in Epinio planning Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants