DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Coding
  3. Tools
  4. IntelliJ IDEA 2018.3: Helm support

IntelliJ IDEA 2018.3: Helm support

The recent IntelliJ Idea 2018.1 introduced support for Kubernetes via a new plugin. Click here to learn more about the Kubernetes plugin that now permits Helm support.

Zlata Kalyuzhnaya user avatar by
Zlata Kalyuzhnaya
·
Oct. 21, 18 · News
Like (2)
Save
Tweet
Share
12.57K Views

Join the DZone community and get the full member experience.

Join For Free

Not so long ago, IntelliJ IDEA 2018.1 Ultimate Edition introduced the initial support for Kubernetes through the new Kubernetes plugin. The forthcoming IntelliJ IDEA 2018.3 takes it even further and now the Kubernetes plugin gets Helm support!

In the blog post covering the first EAP build of IntelliJ IDEA 2018.3, we only briefly mentioned the availability of Helm support in the Kubernetes plugin. Now, the time has come to dive into the details.

Please bear in mind that you need to install not only the Kubernetes plugin v2018.3 but also the Go template plugin. After this is done, the IDE will correctly resolve the Helm resource template files and provide you with our well-known editing support: code completion, rename refactoring, and, of course, inspections and quick-fixes.

All the inspections that work for Kubernetes files will now also work for Helm resource template files in the editor, except for the places where Go template expressions are used.

It seems that even though there are a dozen inspections working for Helm resource files, it is still quite easy to make a mistake in Go Template expressions. But what if you could actually preview the result of your Helm template? It may be quite handy. Choose the new Kubernetes | Helm Template action from the context menu, and the IDE will preview the result of the Helm template rendering in the diff.

As mentioned above, the editor inspections don't warn you about possible errors in Go template expressions. But, we've got you covered here, too; use the new Helm Template action and the IDE will warn you about the errors in the diff viewer.

Another feature that you can benefit from is a new Helm Dependency Update. This new action downloads the external tgz dependencies (or updates the existing one) and displays them in the project tree.

By the way, if there are no requirements.lock available, this action creates one for you (provided of course that there is a requirements.yaml).

You can assign shortcuts for the new Helm Dependency Update and Helm Template action in the Preferences / Settings | Keymap | Plug-ins | Kubernetes.

Quick documentation (F1 on macOS / Ctrl-Q on Windows and Linux) is, of course, now available for Helm resource files as well.

Oh, and you can now use the gutter icons to navigate between a label definition and a label selector, just note that if it's a Helm specific file then it navigates inside a chart with it's sub-charts and if it's a Kubernetes file, it navigates outside of the charts.

Besides, there are new gutter icons in values.yaml files that you can use to navigate to overridden/overriding values.

But more importantly, you can navigate from a values usage to its declaration in the chart's values.yaml file.

That's it! We are working hard to add even more capabilities to the Kubernetes plugin. We plan to add support for the runtime, and Openshift and Istio support is also among some of our priorities. We want to make sure that our support will meet your needs, so please share your feature requests and use-case scenarios with us in our issue tracker. We'd love to hear what you think!

Happy developing!

intellij Kubernetes Template

Published at DZone with permission of Zlata Kalyuzhnaya, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Secrets Management
  • Express Hibernate Queries as Type-Safe Java Streams
  • How To Validate Three Common Document Types in Python
  • Continuous Development: Building the Thing Right, to Build the Right Thing

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: