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

Add the source of the PNG shown in https://cert-manager.io/docs/concepts/certificate/ #1288

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

maelvls
Copy link
Member

@maelvls maelvls commented Sep 7, 2023

Back in 2021, I forgot to add the source in 1. Or rather, I had embedded the source inside the PNG file, which is surprising to anyone who wants to make changes to the diagram. As I explained in 2, let's have the source directly checked in Git.

If you would like to re-generate the PNG file, you have two options:

From the UI:

  1. Open the drawio file,
  2. Export it to PNG with a zoom of 200% (otherwise, the PNG is too blurry).
  3. ⚠️ IMPORTANT ⚠️: Compress the resulting PNG with https://tinypng.com/.

From the command-line (macOS instructions):

  1. brew install drawio
  2. npm i -g tinypng
  3. Create an account at https://tinypng.com/ and get the token in the settings.
  4. alias drawio=/Applications/draw.io.app/Contents/MacOS/draw.io
  5. drawio -x -f png -o public/images/letsencrypt-flow-cert-manager.png public/images/letsencrypt-flow-cert-manager.drawio --scale 2
  6. tinypng -k <token> public/images/letsencrypt-flow-cert-manager.png

/cc @inteon

I forgot to add the source in [1]. Or rather, I had embedded the source
inside the PNG file, which is surprising to anyone who wants to make
changes to the diagram. As I explained in [2], let's have the source
directly checked in Git.

[1]: cert-manager#582
[2]: cert-manager#426

Signed-off-by: Maël Valais <[email protected]>
@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 7, 2023
@netlify
Copy link

netlify bot commented Sep 7, 2023

Deploy Preview for cert-manager-website ready!

Name Link
🔨 Latest commit df3dc76
🔍 Latest deploy log https://app.netlify.com/sites/cert-manager-website/deploys/64f97f00fa746600088313ce
😎 Deploy Preview https://deploy-preview-1288--cert-manager-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@inteon
Copy link
Member

inteon commented Sep 7, 2023

Thanks a lot
/approve
/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2023
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inteon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 7, 2023
@jetstack-bot jetstack-bot merged commit 4e60912 into cert-manager:master Sep 7, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants