Skip to content

Instantly share code, notes, and snippets.

I have an issue when trying to use a file from a library chart. Helm fails when I try to access a file from the library. I have followed the example from the library_charts documentation

Everything is the same as the documentation except two parts: I have added the file mylibchart/files/foo.conf and this file is referenced in mylibchart/templates/_configmap.yaml's data key (in the documentation, data is an empty object)

.
├── mychart
│   ├── Chart.yaml
│   └── templates
g++ src/* -o manager -lX11 -lglog -w
app.directive('uiAutocomplete', ['autoCompleteService', function(autoCompleteService) {
return {
require: 'ngModel',
link: function(scope, element, attrs, controller) {
var _renderItem = function(ul, item) {
return $( "<li>" )
.append( $( "<a>" + item.label + "</a>" ) )
.appendTo( ul );
},
select = function(event, ui) {
<script src="lib/jquery/jquery-1.9.1.js"></script>
<script src="lib/jquery/jquery-ui-1.10.3.js"></script>
<script src="lib/jquery/jquery.ui.datepicker-fr.js"></script>
<!-- Make sure jquery is loaded before angular
if not then lite version will be used by angular ! -->
<script src="lib/angular/1.2.14/angular.js"></script>
<script src="lib/angular/1.2.14/angular-cookies.min.js"></script>
<script src="lib/angular/1.2.14/angular-sanitize.min.js"></script>
<script src="lib/angular/angular-ui-router.js"></script>
<script src="lib/angular/angular-translate.js"></script>
### WHAT WAS CHANGED - CONTROLLER ###
findIndex = (array, callback) ->
i = 0
while i < array.length
return i if callback(array[i])
i++
array.length
findIndex = (array, callback) ->
_i = 0
while _i < array.length
return _i if callback(array[_i])
_i++
-1
$scope.saveCurrentHtmlTemplate = () ->
$scope.isEdited = true
saveWidget: (widget, html, css, js) ->
if Session.requestCurrentUser()
widget =
snippets_attributes = []
snippets_attributes: [
{
id: html[0]
body: html[1]
file_name: html[2]
file_extension: 'html'