Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by Iizuki‭

58 posts
71%
+3 −0
Q&A Keep failed CronJob Pods around in Kubernetes

It seems like pods created by a Kubernetes CronJob (or rather Job) are deleted as soon as they fail. This makes it difficult to figure out what went wrong (unless you have Prometheus or some other ...

1 answer  ·  posted 2mo ago by Iizuki‭  ·  last activity 1mo ago by Alexei‭

71%
+3 −0
Q&A Using an existing web server vs writing your own

When writing a dynamic web service, you broadly speaking have two paths: Use an existing web server (e.g. Apache, Nginx or Lighttpd) to handle the "raw" web requests and implement your own cod...

4 answers  ·  posted 1y ago by Iizuki‭  ·  last activity 1y ago by Basile Starynkevitch‭

71%
+3 −0
Q&A How to use docker hub with podman?

Unlike docker, Podman won't (understandably) use docker hub by default. You can use it explicitly like this: (just using a random example here, it's an OpenAPI linter) podman pull docker.io/dshanl...

1 answer  ·  posted 1y ago by Iizuki‭  ·  last activity 1y ago by Iizuki‭

71%
+3 −0
Q&A How to use docker hub with podman?

Add the following to /etc/containers/registries.conf: unqualified-search-registries = ["docker.io"] [[registry]] location = "docker.io" Now you can pull just like you would in docker: podm...

posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Answer
71%
+3 −0
Q&A Why does this work? .collect() automatic conversion to function return type

You're very much on the right track. std::iter::FromIterator trait This trait is indeed what makes it work. In particular, both functions' return types implement the trait: std::result::Result&l...

posted 1y ago by Iizuki‭

Answer
71%
+3 −0
Q&A Kubectl exec: "Error from server (BadRequest): Upgrade request required"

Ok I got it working again. The issue was that I had updated my kubeconfig file, and the current-context setting had changed. This setting essentially selects which cluster kubectl targets. Now th...

posted 12mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A How to disable jobs in GitLab CI after they are successfully executed

I don't think there exists a straightforward solution. Likely you can achieve this with rules but you'll have to define and finetune them on each of the jobs. (template jobs may help a bit here.) ...

posted 1mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Keep failed CronJob Pods around in Kubernetes

There are a few fields that play into this, but the gist of it is to set the Pod's restartPolicy to Never. This doesn't mean that the Job only tries once. Rather, instead of restarting the containe...

posted 2mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Helm delete old release revisions

Helm keeps track of releases and their revisions by creating a kubernetes Secret each time a chart is installed, upgraded etc. These are of course useful in case you want to rollback, but they do p...

1 answer  ·  posted 3mo ago by Iizuki‭  ·  edited 3mo ago by Iizuki‭

Question kubernetes helm
66%
+2 −0
Q&A Do the elements of 'required' array need to be defined in 'properties' dictionary in JSON schema?

In a JSON schema, do the required properties need to be a subset of properties? E.g. is this a valid schema, even though cookies isn't mentioned in properties? { "type": "object", "properti...

1 answer  ·  posted 1y ago by Iizuki‭  ·  last activity 1y ago by Iizuki‭

Question json json-schema
66%
+2 −0
Q&A List charts in a helm repository

How to list all available helm charts in a helm repository, preferrably using the native helm CLI tool? This command lists the repos themselves, but I've yet to discover how to list their contents...

1 answer  ·  posted 3mo ago by Iizuki‭  ·  last activity 25d ago by Monica Cellio‭

Question helm
66%
+2 −0
Q&A How to surround jinja expression with curly brackets?

A jinja template expression starts and ends with double curly brackets, which the templating engine consumes. But what if you need a single pair of curly brackets left in the output? Something lik...

1 answer  ·  posted 1y ago by Iizuki‭  ·  last activity 1y ago by Alexei‭

Question jinja
66%
+2 −0
Q&A What are the prefixes like "md:" and "ds:" in SAML metadata?

SAML service provider (and other types as well) metadata XMLs are full of prefixes like md: and ds:. What do these mean? To illustrate my point, here's a sample metadata file from Wikipedia (CC-BY...

1 answer  ·  posted 1y ago by Iizuki‭  ·  last activity 1y ago by Michael‭

Question saml saml-metadata
60%
+1 −0
Q&A Best practices for designing a central gateway/hub for microservices communication

How about a library instead? The traditional way of reducing code duplication among separate software packages is to wrap the common bits in a library and use it where ever the functionality is ne...

posted 20d ago by Iizuki‭

Answer
60%
+1 −0
Q&A Tidy Ansible assert module loop output

Looping in Ansible usually produces a neat output of one line per iteration (per host): ... ok: [Arch] => (item=something) ok: [Arch] => (item=something_else) ok: [Arch] => (item=yet_a...

1 answer  ·  posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Question ansible
60%
+1 −0
Q&A Helm delete old release revisions

You don't need to do anything. Helm prunes old release secrets once their number exceeds 10. More specifically, helm upgrade command has an integer option --history-max, that allows you to specify...

posted 3mo ago by Iizuki‭

Answer
60%
+1 −0
Q&A What are the prefixes like "md:" and "ds:" in SAML metadata?

The prefixes are explained in saml-metadata-2.0-os spec in section 1.1: "Notation" Prefix Explanation saml: This is the SAML V2.0 assertion namespace [SAMLCore]. The prefix is gen...

posted 1y ago by Iizuki‭  ·  edited 1y ago by Michael‭

Answer
60%
+1 −0
Q&A Do the elements of 'required' array need to be defined in 'properties' dictionary in JSON schema?

According to my reading of the JSON Schema Spec, the answer is no. required array can contain elements which are not in the properties dictionary. The example schema in question seems to be valid....

posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Answer
60%
+1 −0
Q&A How to validate Ansible role dictionary argument's "additionalProperties"

Apparently there just isn't an equivalent of additionalProperties in Ansible. The way around this is to break the dictionary argument into a list of key/value pairs: argument_specs: main: ...

posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Answer
60%
+1 −0
Q&A How to validate Ansible role dictionary argument's "additionalProperties"

In JSON Schema one can use the additionalProperties key to validate properties whose names are not know. You can still impose restrictions on their type. How to do this in an Ansible role argument...

1 answer  ·  posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Question ansible
60%
+1 −0
Q&A How to use Ansible extract filter in map with an external dictionary

Turns out I wasn't far off. The dictionary mustn't be quoted. So the following works: - name: Extraction test vars: dictionary: one: 1 two: 2 key_list: - one ...

posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Answer
60%
+1 −0
Q&A How to use Ansible extract filter in map with an external dictionary

Ansible's extract filter is supposedly made for use in map, but at the time of writing the documentation doesn't actually show how to use it together with the map filter. The following outputs VAR...

1 answer  ·  posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Question ansible
60%
+1 −0
Q&A How to delete a local branch in git?

How to delete a local git branch which hasn't been pushed to anywhere, and only exists locally?

1 answer  ·  posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Question git git-branch
60%
+1 −0
Q&A Tidy Ansible assert module loop output

Use the quiet parameter: - name: Assertions ansible.builtin.assert: that: - item quiet: true loop: "{{ loop_items }}" vars: loop_items: - true - true ...

posted 1y ago by Iizuki‭

Answer
50%
+0 −0
Q&A List charts in a helm repository

You have to search the repo without any filters: $ helm search repo myrepo NAME CHART VERSION APP VERSION DESCRIPTION myrepo/mychart 1.0.0 1.0.0 ...

posted 3mo ago by Iizuki‭

Answer